Imported Upstream version 2.10.2
[platform/upstream/fontconfig.git] / doc / fontconfig-devel / fcstrbasename.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >FcStrBasename</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9 REL="HOME"
10 HREF="t1.html"><LINK
11 REL="UP"
12 TITLE="String utilities"
13 HREF="x102.html#AEN4485"><LINK
14 REL="PREVIOUS"
15 TITLE="FcStrDirname"
16 HREF="fcstrdirname.html"></HEAD
17 ><BODY
18 CLASS="REFENTRY"
19 BGCOLOR="#FFFFFF"
20 TEXT="#000000"
21 LINK="#0000FF"
22 VLINK="#840084"
23 ALINK="#0000FF"
24 ><DIV
25 CLASS="NAVHEADER"
26 ><TABLE
27 SUMMARY="Header navigation table"
28 WIDTH="100%"
29 BORDER="0"
30 CELLPADDING="0"
31 CELLSPACING="0"
32 ><TR
33 ><TH
34 COLSPAN="3"
35 ALIGN="center"
36 ></TH
37 ></TR
38 ><TR
39 ><TD
40 WIDTH="10%"
41 ALIGN="left"
42 VALIGN="bottom"
43 ><A
44 HREF="fcstrdirname.html"
45 ACCESSKEY="P"
46 >&#60;&#60;&#60; Previous</A
47 ></TD
48 ><TD
49 WIDTH="80%"
50 ALIGN="center"
51 VALIGN="bottom"
52 ></TD
53 ><TD
54 WIDTH="10%"
55 ALIGN="right"
56 VALIGN="bottom"
57 >&nbsp;</TD
58 ></TR
59 ></TABLE
60 ><HR
61 ALIGN="LEFT"
62 WIDTH="100%"></DIV
63 ><H1
64 ><A
65 NAME="FCSTRBASENAME"
66 ></A
67 >FcStrBasename</H1
68 ><DIV
69 CLASS="REFNAMEDIV"
70 ><A
71 NAME="AEN4954"
72 ></A
73 ><H2
74 >Name</H2
75 >FcStrBasename&nbsp;--&nbsp;last component of filename</DIV
76 ><DIV
77 CLASS="REFSYNOPSISDIV"
78 ><A
79 NAME="AEN4957"
80 ></A
81 ><H2
82 >Synopsis</H2
83 ><DIV
84 CLASS="FUNCSYNOPSIS"
85 ><P
86 ></P
87 ><A
88 NAME="AEN4958"
89 ></A
90 ><TABLE
91 BORDER="0"
92 BGCOLOR="#E0E0E0"
93 WIDTH="100%"
94 ><TR
95 ><TD
96 ><PRE
97 CLASS="FUNCSYNOPSISINFO"
98 >#include &#60;fontconfig.h&#62;
99         </PRE
100 ></TD
101 ></TR
102 ></TABLE
103 ><P
104 ><CODE
105 ><CODE
106 CLASS="FUNCDEF"
107 >FcChar8 * <TT
108 CLASS="FUNCTION"
109 >FcStrBasename</TT
110 ></CODE
111 >(const FcChar8 *<TT
112 CLASS="PARAMETER"
113 ><I
114 >file</I
115 ></TT
116 >);</CODE
117 ></P
118 ><P
119 ></P
120 ></DIV
121 ></DIV
122 ><DIV
123 CLASS="REFSECT1"
124 ><A
125 NAME="AEN4965"
126 ></A
127 ><H2
128 >Description</H2
129 ><P
130 >Returns the filename of <TT
131 CLASS="PARAMETER"
132 ><I
133 >file</I
134 ></TT
135 > stripped of any leading
136 directory names.  This is returned in newly allocated storage which should
137 be freed when no longer needed.
138             </P
139 ></DIV
140 ><DIV
141 CLASS="REFSECT1"
142 ><A
143 NAME="AEN4969"
144 ></A
145 ><H2
146 >Version</H2
147 ><P
148 >Fontconfig version 2.10.2
149
150             </P
151 ></DIV
152 ><DIV
153 CLASS="NAVFOOTER"
154 ><HR
155 ALIGN="LEFT"
156 WIDTH="100%"><TABLE
157 SUMMARY="Footer navigation table"
158 WIDTH="100%"
159 BORDER="0"
160 CELLPADDING="0"
161 CELLSPACING="0"
162 ><TR
163 ><TD
164 WIDTH="33%"
165 ALIGN="left"
166 VALIGN="top"
167 ><A
168 HREF="fcstrdirname.html"
169 ACCESSKEY="P"
170 >&#60;&#60;&#60; Previous</A
171 ></TD
172 ><TD
173 WIDTH="34%"
174 ALIGN="center"
175 VALIGN="top"
176 ><A
177 HREF="t1.html"
178 ACCESSKEY="H"
179 >Home</A
180 ></TD
181 ><TD
182 WIDTH="33%"
183 ALIGN="right"
184 VALIGN="top"
185 >&nbsp;</TD
186 ></TR
187 ><TR
188 ><TD
189 WIDTH="33%"
190 ALIGN="left"
191 VALIGN="top"
192 >FcStrDirname</TD
193 ><TD
194 WIDTH="34%"
195 ALIGN="center"
196 VALIGN="top"
197 ><A
198 HREF="x102.html#AEN4485"
199 ACCESSKEY="U"
200 >Up</A
201 ></TD
202 ><TD
203 WIDTH="33%"
204 ALIGN="right"
205 VALIGN="top"
206 >&nbsp;</TD
207 ></TR
208 ></TABLE
209 ></DIV
210 ></BODY
211 ></HTML
212 >