Print this page
12745 man page typos
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man5/lf64.5
+++ new/usr/src/man/man5/lf64.5
1 1 '\" te
2 2 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
3 3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 6 .\" Copyright (c) 2015, Joyent, Inc. All rights reserved.
7 -.TH LF64 5 "Jan 14, 2015"
7 +.TH LF64 5 "May 17, 2020"
8 8 .SH NAME
9 9 lf64 \- transitional interfaces for 64-bit file offsets
10 10 .SH DESCRIPTION
11 -.LP
12 11 The data types, interfaces, and macros described on this page provide explicit
13 12 access to 64-bit file offsets. They are accessible through the transitional
14 13 compilation environment described on the \fBlfcompile64\fR(5) manual page. The
15 14 function prototype and semantics of a transitional interface are equivalent to
16 15 those of the standard version of the call, except that relevant data types are
17 16 64-bit entities.
18 17 .SS "Data Types"
19 -.LP
20 18 The following tables list the standard data or struct types in the left-hand
21 19 column and their corresponding explicit 64-bit file offset types in the
22 20 right-hand column, grouped by header. The absence of an entry in the left-hand
23 21 column indicates that there is no existing explicit 32-bit type that
24 22 corresponds to the 64-bit type listed in the right\(emhand column. Note that
25 23 in a 64-bit application, the standard definition is equivalent to the 64-bit
26 24 file offset definition.
27 25 .SS "<\fBaio.h\fR>"
28 26
29 27 .TS
30 28 l l
31 29 l l .
32 30 struct \fBaiocb\fR struct \fBaiocb64\fR
33 31 \fBoff_t\fR aio_offset; \fBoff64_t\fR aio_offset;
34 32 .TE
35 33
36 34 .SS "<\fBsys/dirent.h\fR>"
37 35
38 36 .TS
39 37 l l
40 38 l l .
41 39 struct \fBdirent\fR struct \fBdirent64\fR
42 40 \fBino_t\fR d_ino; \fBino64_t\fR d_ino;
43 41 \fBoff_t\fR d_off; \fBoff64_t\fR d_off;
44 42 .TE
45 43
46 44 .SS "<\fBsys/fcntl.h\fR>"
47 45
48 46 .TS
49 47 l l
50 48 l l .
51 49 struct \fBflock\fR struct \fBflock64\fR
52 50 \fBoff_t\fR l_start; \fBoff64_t\fR l_start;
53 51 \fBoff_t\fR l_len; \fBoff64_t\fR l_len;
54 52 \fBF_SETLK\fR \fBF_SETLK64\fR
55 53 \fBF_SETLKW\fR \fBF_SETLKW64\fR
56 54 \fBF_GETLK\fR \fBF_GETLK64\fR
57 55 \fBF_FREESP\fR \fBF_FREESP64\fR
58 56 \fBF_ALLOCSP\fR \fBF_ALLOCSP64\fR
59 57 \fBO_LARGEFILE\fR
60 58 .TE
61 59
62 60 .SS "<\fBsys/stdio.h\fR>"
63 61
64 62 .TS
65 63 l l .
66 64 \fBfpos_t\fR \fBfpos64_t\fR
67 65 .TE
68 66
69 67 .SS "<\fBsys/resource.h\fR>"
70 68
71 69 .TS
72 70 l l
73 71 l l .
74 72 \fBrlim_t\fR \fBrlim64_t\fR
75 73 struct \fBrlimit\fR struct \fBrlimit64\fR
76 74 \fBrlim_t\fR rlim_cur; \fBrlim64_t\fR rlim_cur;
77 75 \fBrlim_t\fR rlim_max; \fBrlim64_t\fR rlim_max;
78 76 \fBRLIM_INFINITY\fR \fBRLIM64_INFINITY\fR
79 77 \fBRLIM_SAVED_MAX\fR \fBRLIM64_SAVED_MAX\fR
80 78 \fBRLIM_SAVED_CUR\fR \fBRLIM64_SAVED_CUR\fR
81 79 .TE
82 80
83 81 .SS "<\fBsys/stat.h\fR>"
84 82
85 83 .TS
86 84 l l
87 85 l l .
88 86 struct \fBstat\fR struct \fBstat64\fR
89 87 \fBino_t\fR st_ino; \fBino64_t\fR st_ino;
90 88 \fBoff_t\fR st_size; \fBoff64_t\fR st_size;
91 89 \fBblkcnt_t\fR st_blocks; \fBblkcnt64_t\fR st_blocks;
↓ open down ↓ |
62 lines elided |
↑ open up ↑ |
92 90 .TE
93 91
94 92 .SS "<\fBsys/statvfs.h\fR>"
95 93
96 94 .TS
97 95 l l
98 96 l l .
99 97 struct \fBstatvfs\fR struct \fBstatvfs64\fR
100 98 \fBfsblkcnt_t\fR f_blocks; \fBfsblkcnt64_t\fR f_blocks;
101 99 \fBfsblkcnt_t\fR f_bfree; \fBfsblkcnt64_t\fR f_bfree;
102 - \fBfsblkcnt_t\fR f_bavial; \fBfsblkcnt64_t\fR f_bavial;
100 + \fBfsblkcnt_t\fR f_bavail; \fBfsblkcnt64_t\fR f_bavail;
103 101 \fBfsfilcnt_t\fR f_files; \fBfsfilcnt64_t\fR f_files;
104 102 \fBfsfilcnt_t\fR f_ffree; \fBfsfilcnt64_t\fR f_ffree;
105 103 \fBfsfilcnt_t\fR f_favail; \fBfsfilcnt64_t\fR f_favail;
106 104 .TE
107 105
108 106 .SS "<\fBsys/types.h\fR>"
109 107
110 108 .TS
111 109 l l
112 110 l l .
113 111 \fBoff_t\fR; \fBoff64_t\fR;
114 112 \fBino_t\fR; \fBino64_t\fR;
115 113 \fBblkcnt_t\fR; \fBblkcnt64_t\fR;
116 114 \fBfsblkcnt_t\fR; \fBfsblkcnt64_t\fR;
117 115 \fBfsfilcnt_t\fR; \fBfsfilcnt64_t\fR;
118 116 .TE
119 117
120 118 .SS "<\fBunistd.h\fR>"
121 119
122 120 .TS
123 121 l l
124 122 l l .
125 123 \fB_LFS64_LARGEFILE\fR
126 124 \fB_LFS64_STDIO\fR
127 125 .TE
128 126
129 127 .SS "<\fBsys/unistd.h\fR>"
130 128
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
131 129 .TS
132 130 l l
133 131 l l .
134 132 \fB_CS_LFS64_CFLAGS\fR
135 133 \fB_CS_LFS64_LDFLAGS\fR
136 134 \fB_CS_LFS64_LIBS\fR
137 135 \fB_CS_LFS64_LINTFLAGS\fR
138 136 .TE
139 137
140 138 .SS "System Interfaces"
141 -.LP
142 139 The following tables display the standard API and the corresponding
143 140 transitional interfaces for 64-bit file offsets. The interfaces are grouped by
144 141 header. The interface name and the affected data types are displayed in courier
145 142 font.
146 143 .SS "<\fBaio.h\fR>"
147 144
148 145 .TS
149 146 l l
150 147 l l .
151 -int \fBaio_cancel\fR(..., int \fBaio_cancel64\fR(...,
148 +int \fBaio_cancel\fR(..., int \fBaio_cancel64\fR(...,
152 149 struct \fBaiocb\fR *); struct \fBaiocb64\fR *);
153 150 int \fBaio_error\fR( int \fBaio_error64\fR(
154 151 const struct \fBaiocb\fR *); const struct \fBaiocb64\fR *);
155 -int \fBaio_fsync\fR(..., int \fBaio_fsync64\fR(...,
152 +int \fBaio_fsync\fR(..., int \fBaio_fsync64\fR(...,
156 153 struct \fBaiocb\fR *); struct \fBaiocb64\fR *);
157 154 int \fBaio_read\fR(struct \fBaiocb\fR *); int \fBaio_read64\fR(struct \fBaiocb64\fR *);
158 155 int \fBaio_return\fR(struct \fBaiocb\fR *); int \fBaio_return64\fR(struct \fBaiocb64\fR *);
159 156 int \fBaio_suspend\fR( int \fBaio_suspend64\fR(
160 157 const struct \fBaiocb\fR *, ...); const struct \fBaiocb64\fR *, ...);
161 158 int \fBaio_waitn\fR(aiocb_t *[], int \fBaio_waitn64\fR(aiocb64_t *[],
162 159 ...); ...);
163 160 int \fBaio_write\fR(struct \fBaiocb\fR *); int \fBaio_write64\fR(struct \fBaiocb64\fR *);
164 -int \fBlio_listio\fR(..., int \fBlio_listio64\fR(...,
161 +int \fBlio_listio\fR(..., int \fBlio_listio64\fR(...,
165 162 const struct \fBaiocb\fR *, ...); const struct \fBaiocb64\fR *, ...);
166 163 .TE
167 164
168 165 .SS "<\fBdirent.h\fR>"
169 166
170 167 .TS
171 168 l l
172 169 l l .
173 170 int \fBalphasort\fR( int \fBalphasort64\fR(
174 - const struct dirent **, const struct dirent64 **,
171 + const struct dirent **, const struct dirent64 **,
175 172 const struct dirent **) const struct dirent64 **)
176 173 struct \fBdirent *\fR\fBreaddir()\fR; struct \fBdirent64 *\fR\fBreaddir64()\fR;
177 174 struct \fBdirent *\fR\fBreaddir_r()\fR; struct \fBdirent64 *\fR\fBreaddir64_r()\fR;
178 -int \fBscandir\fR(..., int \fBscandir64\fR(...,
179 - struct dirent *(*[]), struct dirent64 *(*[]),
175 +int \fBscandir\fR(..., int \fBscandir64\fR(...,
176 + struct dirent *(*[]), struct dirent64 *(*[]),
180 177 int (*)(const struct dirent *), int (*)(const struct dirent64 *),
181 178 int (*)(const struct dirent **, int (*)(const struct dirent64 **,
182 179 const struct dirent **)) const struct dirent64 **))
183 180 .TE
184 181
185 182 .SS "<\fBfcntl.h\fR>"
186 183
187 184 .TS
188 185 l l
189 186 l l .
190 187 int \fBattropen()\fR; int \fBattropen64()\fR;
191 188 int \fBcreat()\fR; int \fBcreat64()\fR;
192 189 int \fBopen()\fR; int \fBopen64()\fR;
193 190 int \fBopenat()\fR; int \fBopenat64()\fR;
194 191 int \fBposix_fadvise()\fR int \fBposix_fadvise64()\fR
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
195 192 int \fBposix_fallocate()\fR int \fBposix_fallocate64()\fR
196 193 .TE
197 194
198 195 .SS "<\fBftw.h\fR>"
199 196
200 197 .TS
201 198 l l
202 199 l l .
203 200 int \fBftw\fR(..., int \fBftw64\fR(...,
204 201 const struct \fBstat\fR *, ...); const struct \fBstat64\fR *, ...);
205 -
202 +
206 203 int \fBnftw\fR(.. int \fBnftw64\fR(...,
207 204 const struct \fBstat\fR *, ...); const struct \fBstat64\fR *, ...);
208 -
205 +
209 206 .TE
210 207
211 208 .SS "<\fBlibgen.h\fR>"
212 209
213 210 .TS
214 211 l l .
215 212 char *\fBcopylist\fR(..., \fBoff_t\fR); char *\fBcopylist64\fR(..., \fBoff64_t\fR);
216 213 .TE
217 214
218 215 .SS "<\fBstdio.h\fR>"
219 216
220 217 .TS
221 218 l l
222 219 l l .
223 220 int \fBfgetpos()\fR; int \fBfgetpos64()\fR;
224 221 FILE *\fBfopen()\fR; FILE *\fBfopen64()\fR;
225 222 FILE *\fBfreopen()\fR; FILE *\fBfreopen64()\fR;
226 223 int \fBfseeko\fR(..., \fBoff_t\fR, ...); int \fBfseeko64\fR(..., \fBoff64_t\fR, ...);
227 224 int \fBfsetpos\fR(..., int \fBfsetpos64\fR(...,
228 225 const \fBfpos_t\fR *); const \fBfpos64_t\fR *);
229 226 off_t \fBftello()\fR; off64_t \fBftello64()\fR();
230 227 FILE *\fBtmpfile()\fR; FILE *\fBtmpfile64()\fR;
231 228 .TE
232 229
233 230 .SS "<\fBstdlib.h\fR>"
234 231
235 232 .TS
236 233 l l .
237 234 int \fBmkstemp()\fR; int \fBmkstemp64()\fR;
238 235 .TE
239 236
240 237 .SS "<\fBsys/async.h\fR>"
241 238
242 239 .TS
243 240 l l
244 241 l l .
↓ open down ↓ |
26 lines elided |
↑ open up ↑ |
245 242 int \fBaioread\fR(..., \fBoff_t\fR, ...); int \fBaioread64\fR(..., \fBoff64_t\fR, ...);
246 243 int \fBaiowrite\fR(..., \fBoff_t\fR, ...); int \fBaiowrite64\fR(..., \fBoff64_t\fR, ...);
247 244 .TE
248 245
249 246 .SS "<\fBsys/dirent.h\fR>"
250 247
251 248 .TS
252 249 l l
253 250 l l .
254 251 int \fBgetdents\fR(..., \fBdirent\fR); int \fBgetdents64\fR(..., \fBdirent64\fR);
255 -
252 +
256 253 .TE
257 254
258 255 .SS "<\fBsys/mman.h\fR>"
259 256
260 257 .TS
261 258 l l .
262 259 void \fBmmap\fR(..., \fBoff_t\fR); void \fBmmap64\fR(..., \fBoff64_t\fR);
263 260 .TE
264 261
265 262 .SS "<\fBsys/resource.h\fR>"
266 263
267 264 .TS
268 265 l l
269 266 l l .
270 267 int \fBgetrlimit\fR(..., int \fBgetrlimit64\fR(...,
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
271 268 struct \fBrlimit\fR *); struct \fBrlimit64\fR *);
272 269 int \fBsetrlimit\fR(..., int \fBsetrlimit64\fR(...,
273 270 const struct \fBrlimit\fR *); const struct \fBrlimit64\fR *);
274 271 .TE
275 272
276 273 .SS "<\fBsys/sendfile.h\fR>"
277 274
278 275 .TS
279 276 l l
280 277 l l .
281 -ssize_t \fBsendfile\fR(..., ssize_t \fBsendfile64\fR(...,
278 +ssize_t \fBsendfile\fR(..., ssize_t \fBsendfile64\fR(...,
282 279 \fBoff_t\fR *, ...); \fBoff64_t\fR *, ...);
283 -ssize_t \fBsendfilev\fR(..., const ssize_t \fBsendfilev64\fR(..., const
280 +ssize_t \fBsendfilev\fR(..., const ssize_t \fBsendfilev64\fR(..., const
284 281 struct \fBsendfilevec\fR *, ...); struct \fBsendfilevec64\fR *, ...);
285 -
282 +
286 283 .TE
287 284
288 285 .SS "<\fBsys/stat.h\fR>"
289 286
290 287 .TS
291 288 l l
292 289 l l .
293 290 int \fBfstat\fR(..., struct \fBstat\fR *); int \fBfstat64\fR(..., struct \fBstat64\fR *);
294 -int \fBfstatat\fR(..., int \fBfstatat64\fR(...,
291 +int \fBfstatat\fR(..., int \fBfstatat64\fR(...,
295 292 struct \fBstat\fR *, int); struct \fBstat64\fR *, int);
296 293 int \fBlstat\fR(..., struct \fBstat\fR *); int \fBlstat64\fR(..., struct \fBstat64\fR *);
297 294 int \fBstat\fR(..., struct \fBstat\fR *); int \fBstat64\fR(..., struct \fBstat64\fR *);
298 295 .TE
299 296
300 297 .SS "<\fBsys/statvfs.h\fR>"
301 298
302 299 .TS
303 300 l l
304 301 l l .
305 302 int \fBstatvfs\fR(..., int \fBstatvfs64\fR(...,
306 303 struct \fBstatvfs\fR *); struct \fBstatvfs64\fR *);
307 -int \fBfstatvfs\fR(..., int \fBfstatvfs64\fR(...,
304 +int \fBfstatvfs\fR(..., int \fBfstatvfs64\fR(...,
308 305 struct \fBstatvfs\fR *); struct \fBstatvfs64\fR *);
309 306 .TE
310 307
311 308 .SS "<\fBucbinclude/stdio.h\fR>"
312 309
313 310 .TS
314 311 l l
315 312 l l .
316 313 FILE *\fBfopen()\fR FILE *\fBfopen64()\fR
317 314 FILE *\fBfreopen()\fR FILE *\fBfreopen64()\fR
318 315 .TE
319 316
320 317 .SS "<\fBucbinclude/sys/dir.h\fR>"
↓ open down ↓ |
3 lines elided |
↑ open up ↑ |
321 318
322 319 .TS
323 320 l l
324 321 l l .
325 322 int \fBalphasort\fR( int \fBalphasort64\fR(
326 323 struct \fBdirect\fR **, struct \fBdirect64\fR **,
327 324 struct \fBdirect\fR **); struct \fBdirect64\fR **);
328 325 struct \fBdirect *\fR\fBreaddir()\fR; struct \fBdirect64 *\fR\fBreaddir64()\fR;
329 326 int \fBscandir\fR(..., int \fBscandir64\fR(...,
330 327 struct \fBdirect\fR *(*[]);, ...); struct \fBdirect64\fR *(*[]);, ...);
331 -
328 +
332 329 .TE
333 330
334 331 .SS "<\fBunistd.h\fR>"
335 332
336 333 .TS
337 334 l l
338 335 l l .
339 336 int \fBlockf\fR(..., \fBoff_t\fR); int \fBlockf64\fR(..., \fBoff64_t\fR);
340 337 \fBoff_t lseek\fR(..., \fBoff_t\fR, ...); \fBoff64_t lseek64\fR(..., \fBoff64_t\fR, ...);
341 338 int \fBftruncate\fR(..., \fBoff_t\fR); int \fBftruncate64\fR..., \fBoff64_t\fR);
342 339 ssize_t \fBpread\fR(..., \fBoff_t\fR); ssize_t \fBpread64\fR..., \fBoff64_t\fR);
343 340 ssize_t \fBpwrite\fR(..., \fBoff_t\fR); ssize_t \fBpwrite64\fR(..., \fBoff64_t\fR);
344 341 ssize_t \fBpreadv\fR(..., \fBoff_t\fR); ssize_t \fBpreadv64\fR..., \fBoff64_t\fR);
345 342 ssize_t \fBpwritev\fR(..., \fBoff_t\fR); ssize_t \fBpwritev64\fR(..., \fBoff64_t\fR);
346 343 int \fBtruncate\fR(..., \fBoff_t\fR); int \fBtruncate64\fR(..., \fBoff64_t\fR);
347 344 .TE
348 345
349 346 .SH SEE ALSO
350 -.LP
351 347 \fBlfcompile\fR(5), \fBlfcompile64\fR(5)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX