Print this page
12745 man page typos
   1 '\" te
   2 .\" Copyright (c) 2008, Sun Microsystems, Inc.  All Rights Reserved.
   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 .\" 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 .\" 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 .\" Copyright (c) 2015, Joyent, Inc.  All rights reserved.
   7 .TH LF64 5 "Jan 14, 2015"
   8 .SH NAME
   9 lf64 \- transitional interfaces for 64-bit file offsets
  10 .SH DESCRIPTION
  11 .LP
  12 The data types, interfaces, and macros described on this page provide explicit
  13 access to 64-bit file offsets. They are accessible through the transitional
  14 compilation environment described on the \fBlfcompile64\fR(5) manual page. The
  15 function prototype and semantics of a transitional interface are equivalent to
  16 those of the standard version of the call, except that relevant data types are
  17 64-bit entities.
  18 .SS "Data Types"
  19 .LP
  20 The following tables list the standard data or struct types in the left-hand
  21 column and their  corresponding explicit 64-bit file offset types in the
  22 right-hand column, grouped by header. The absence of an entry in the  left-hand
  23 column indicates that there is no existing explicit 32-bit type that
  24 corresponds to the 64-bit type listed in the right\(emhand column.  Note that
  25 in a 64-bit application, the standard definition is equivalent to the 64-bit
  26 file offset definition.
  27 .SS "<\fBaio.h\fR>"
  28 
  29 .TS
  30 l l
  31 l l .
  32 struct \fBaiocb\fR      struct \fBaiocb64\fR
  33    \fBoff_t\fR aio_offset;         \fBoff64_t\fR aio_offset;
  34 .TE
  35 
  36 .SS "<\fBsys/dirent.h\fR>"
  37 
  38 .TS
  39 l l


  82 
  83 .SS "<\fBsys/stat.h\fR>"
  84 
  85 .TS
  86 l l
  87 l l .
  88 struct \fBstat\fR       struct \fBstat64\fR
  89    \fBino_t\fR st_ino;     \fBino64_t\fR st_ino;
  90    \fBoff_t\fR st_size;    \fBoff64_t\fR st_size;
  91    \fBblkcnt_t\fR st_blocks;       \fBblkcnt64_t\fR st_blocks;
  92 .TE
  93 
  94 .SS "<\fBsys/statvfs.h\fR>"
  95 
  96 .TS
  97 l l
  98 l l .
  99 struct \fBstatvfs\fR    struct \fBstatvfs64\fR
 100    \fBfsblkcnt_t\fR f_blocks;      \fBfsblkcnt64_t\fR f_blocks;
 101    \fBfsblkcnt_t\fR f_bfree;       \fBfsblkcnt64_t\fR f_bfree;
 102    \fBfsblkcnt_t\fR f_bavial;      \fBfsblkcnt64_t\fR f_bavial;
 103    \fBfsfilcnt_t\fR  f_files;      \fBfsfilcnt64_t\fR  f_files;
 104    \fBfsfilcnt_t\fR  f_ffree;      \fBfsfilcnt64_t\fR  f_ffree;
 105    \fBfsfilcnt_t\fR  f_favail;     \fBfsfilcnt64_t\fR  f_favail;
 106 .TE
 107 
 108 .SS "<\fBsys/types.h\fR>"
 109 
 110 .TS
 111 l l
 112 l l .
 113 \fBoff_t\fR;    \fBoff64_t\fR;
 114 \fBino_t\fR;    \fBino64_t\fR;
 115 \fBblkcnt_t\fR; \fBblkcnt64_t\fR;
 116 \fBfsblkcnt_t\fR;       \fBfsblkcnt64_t\fR;
 117 \fBfsfilcnt_t\fR;       \fBfsfilcnt64_t\fR;
 118 .TE
 119 
 120 .SS "<\fBunistd.h\fR>"
 121 
 122 .TS
 123 l l
 124 l l .
 125         \fB_LFS64_LARGEFILE\fR
 126         \fB_LFS64_STDIO\fR
 127 .TE
 128 
 129 .SS "<\fBsys/unistd.h\fR>"
 130 
 131 .TS
 132 l l
 133 l l .
 134         \fB_CS_LFS64_CFLAGS\fR
 135         \fB_CS_LFS64_LDFLAGS\fR
 136         \fB_CS_LFS64_LIBS\fR
 137         \fB_CS_LFS64_LINTFLAGS\fR
 138 .TE
 139 
 140 .SS "System Interfaces"
 141 .LP
 142 The following tables display the standard API and the corresponding
 143 transitional  interfaces for 64-bit file offsets. The interfaces are grouped by
 144 header. The interface name and the affected data types are displayed in courier
 145 font.
 146 .SS "<\fBaio.h\fR>"
 147 
 148 .TS
 149 l l
 150 l l .
 151 int \fBaio_cancel\fR(...,       int \fBaio_cancel64\fR(...,
 152    struct \fBaiocb\fR *);          struct \fBaiocb64\fR *);
 153 int \fBaio_error\fR(    int \fBaio_error64\fR(
 154    const struct \fBaiocb\fR *);    const struct \fBaiocb64\fR *);
 155 int \fBaio_fsync\fR(...,        int \fBaio_fsync64\fR(...,
 156    struct \fBaiocb\fR *);          struct \fBaiocb64\fR *);
 157 int \fBaio_read\fR(struct \fBaiocb\fR *);       int \fBaio_read64\fR(struct \fBaiocb64\fR *);
 158 int \fBaio_return\fR(struct \fBaiocb\fR *);     int \fBaio_return64\fR(struct \fBaiocb64\fR *);
 159 int \fBaio_suspend\fR(  int \fBaio_suspend64\fR(
 160    const struct \fBaiocb\fR *, ...);       const struct \fBaiocb64\fR *, ...);
 161 int \fBaio_waitn\fR(aiocb_t *[],        int \fBaio_waitn64\fR(aiocb64_t *[],


 330    struct \fBdirect\fR *(*[]);,  ...);     struct \fBdirect64\fR *(*[]);,  ...);
 331         
 332 .TE
 333 
 334 .SS "<\fBunistd.h\fR>"
 335 
 336 .TS
 337 l l
 338 l l .
 339 int \fBlockf\fR(..., \fBoff_t\fR);      int \fBlockf64\fR(..., \fBoff64_t\fR);
 340 \fBoff_t lseek\fR(..., \fBoff_t\fR, ...);       \fBoff64_t lseek64\fR(..., \fBoff64_t\fR, ...);
 341 int \fBftruncate\fR(..., \fBoff_t\fR);  int \fBftruncate64\fR..., \fBoff64_t\fR);
 342 ssize_t \fBpread\fR(..., \fBoff_t\fR);  ssize_t \fBpread64\fR..., \fBoff64_t\fR);
 343 ssize_t \fBpwrite\fR(..., \fBoff_t\fR); ssize_t \fBpwrite64\fR(..., \fBoff64_t\fR);
 344 ssize_t \fBpreadv\fR(..., \fBoff_t\fR); ssize_t \fBpreadv64\fR..., \fBoff64_t\fR);
 345 ssize_t \fBpwritev\fR(..., \fBoff_t\fR);        ssize_t \fBpwritev64\fR(..., \fBoff64_t\fR);
 346 int \fBtruncate\fR(..., \fBoff_t\fR);   int \fBtruncate64\fR(..., \fBoff64_t\fR);
 347 .TE
 348 
 349 .SH SEE ALSO
 350 .LP
 351 \fBlfcompile\fR(5), \fBlfcompile64\fR(5)
   1 '\" te
   2 .\" Copyright (c) 2008, Sun Microsystems, Inc.  All Rights Reserved.
   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 .\" 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 .\" 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 .\" Copyright (c) 2015, Joyent, Inc.  All rights reserved.
   7 .TH LF64 5 "May 17, 2020"
   8 .SH NAME
   9 lf64 \- transitional interfaces for 64-bit file offsets
  10 .SH DESCRIPTION

  11 The data types, interfaces, and macros described on this page provide explicit
  12 access to 64-bit file offsets. They are accessible through the transitional
  13 compilation environment described on the \fBlfcompile64\fR(5) manual page. The
  14 function prototype and semantics of a transitional interface are equivalent to
  15 those of the standard version of the call, except that relevant data types are
  16 64-bit entities.
  17 .SS "Data Types"

  18 The following tables list the standard data or struct types in the left-hand
  19 column and their  corresponding explicit 64-bit file offset types in the
  20 right-hand column, grouped by header. The absence of an entry in the  left-hand
  21 column indicates that there is no existing explicit 32-bit type that
  22 corresponds to the 64-bit type listed in the right\(emhand column.  Note that
  23 in a 64-bit application, the standard definition is equivalent to the 64-bit
  24 file offset definition.
  25 .SS "<\fBaio.h\fR>"
  26 
  27 .TS
  28 l l
  29 l l .
  30 struct \fBaiocb\fR      struct \fBaiocb64\fR
  31    \fBoff_t\fR aio_offset;         \fBoff64_t\fR aio_offset;
  32 .TE
  33 
  34 .SS "<\fBsys/dirent.h\fR>"
  35 
  36 .TS
  37 l l


  80 
  81 .SS "<\fBsys/stat.h\fR>"
  82 
  83 .TS
  84 l l
  85 l l .
  86 struct \fBstat\fR       struct \fBstat64\fR
  87    \fBino_t\fR st_ino;     \fBino64_t\fR st_ino;
  88    \fBoff_t\fR st_size;    \fBoff64_t\fR st_size;
  89    \fBblkcnt_t\fR st_blocks;       \fBblkcnt64_t\fR st_blocks;
  90 .TE
  91 
  92 .SS "<\fBsys/statvfs.h\fR>"
  93 
  94 .TS
  95 l l
  96 l l .
  97 struct \fBstatvfs\fR    struct \fBstatvfs64\fR
  98    \fBfsblkcnt_t\fR f_blocks;      \fBfsblkcnt64_t\fR f_blocks;
  99    \fBfsblkcnt_t\fR f_bfree;       \fBfsblkcnt64_t\fR f_bfree;
 100    \fBfsblkcnt_t\fR f_bavail;      \fBfsblkcnt64_t\fR f_bavail;
 101    \fBfsfilcnt_t\fR  f_files;      \fBfsfilcnt64_t\fR  f_files;
 102    \fBfsfilcnt_t\fR  f_ffree;      \fBfsfilcnt64_t\fR  f_ffree;
 103    \fBfsfilcnt_t\fR  f_favail;     \fBfsfilcnt64_t\fR  f_favail;
 104 .TE
 105 
 106 .SS "<\fBsys/types.h\fR>"
 107 
 108 .TS
 109 l l
 110 l l .
 111 \fBoff_t\fR;    \fBoff64_t\fR;
 112 \fBino_t\fR;    \fBino64_t\fR;
 113 \fBblkcnt_t\fR; \fBblkcnt64_t\fR;
 114 \fBfsblkcnt_t\fR;       \fBfsblkcnt64_t\fR;
 115 \fBfsfilcnt_t\fR;       \fBfsfilcnt64_t\fR;
 116 .TE
 117 
 118 .SS "<\fBunistd.h\fR>"
 119 
 120 .TS
 121 l l
 122 l l .
 123         \fB_LFS64_LARGEFILE\fR
 124         \fB_LFS64_STDIO\fR
 125 .TE
 126 
 127 .SS "<\fBsys/unistd.h\fR>"
 128 
 129 .TS
 130 l l
 131 l l .
 132         \fB_CS_LFS64_CFLAGS\fR
 133         \fB_CS_LFS64_LDFLAGS\fR
 134         \fB_CS_LFS64_LIBS\fR
 135         \fB_CS_LFS64_LINTFLAGS\fR
 136 .TE
 137 
 138 .SS "System Interfaces"

 139 The following tables display the standard API and the corresponding
 140 transitional  interfaces for 64-bit file offsets. The interfaces are grouped by
 141 header. The interface name and the affected data types are displayed in courier
 142 font.
 143 .SS "<\fBaio.h\fR>"
 144 
 145 .TS
 146 l l
 147 l l .
 148 int \fBaio_cancel\fR(...,       int \fBaio_cancel64\fR(...,
 149    struct \fBaiocb\fR *);          struct \fBaiocb64\fR *);
 150 int \fBaio_error\fR(    int \fBaio_error64\fR(
 151    const struct \fBaiocb\fR *);    const struct \fBaiocb64\fR *);
 152 int \fBaio_fsync\fR(...,        int \fBaio_fsync64\fR(...,
 153    struct \fBaiocb\fR *);          struct \fBaiocb64\fR *);
 154 int \fBaio_read\fR(struct \fBaiocb\fR *);       int \fBaio_read64\fR(struct \fBaiocb64\fR *);
 155 int \fBaio_return\fR(struct \fBaiocb\fR *);     int \fBaio_return64\fR(struct \fBaiocb64\fR *);
 156 int \fBaio_suspend\fR(  int \fBaio_suspend64\fR(
 157    const struct \fBaiocb\fR *, ...);       const struct \fBaiocb64\fR *, ...);
 158 int \fBaio_waitn\fR(aiocb_t *[],        int \fBaio_waitn64\fR(aiocb64_t *[],


 327    struct \fBdirect\fR *(*[]);,  ...);     struct \fBdirect64\fR *(*[]);,  ...);
 328 
 329 .TE
 330 
 331 .SS "<\fBunistd.h\fR>"
 332 
 333 .TS
 334 l l
 335 l l .
 336 int \fBlockf\fR(..., \fBoff_t\fR);      int \fBlockf64\fR(..., \fBoff64_t\fR);
 337 \fBoff_t lseek\fR(..., \fBoff_t\fR, ...);       \fBoff64_t lseek64\fR(..., \fBoff64_t\fR, ...);
 338 int \fBftruncate\fR(..., \fBoff_t\fR);  int \fBftruncate64\fR..., \fBoff64_t\fR);
 339 ssize_t \fBpread\fR(..., \fBoff_t\fR);  ssize_t \fBpread64\fR..., \fBoff64_t\fR);
 340 ssize_t \fBpwrite\fR(..., \fBoff_t\fR); ssize_t \fBpwrite64\fR(..., \fBoff64_t\fR);
 341 ssize_t \fBpreadv\fR(..., \fBoff_t\fR); ssize_t \fBpreadv64\fR..., \fBoff64_t\fR);
 342 ssize_t \fBpwritev\fR(..., \fBoff_t\fR);        ssize_t \fBpwritev64\fR(..., \fBoff64_t\fR);
 343 int \fBtruncate\fR(..., \fBoff_t\fR);   int \fBtruncate64\fR(..., \fBoff64_t\fR);
 344 .TE
 345 
 346 .SH SEE ALSO

 347 \fBlfcompile\fR(5), \fBlfcompile64\fR(5)