The OpenNET Project / Index page

[ новости /+++ | форум | wiki | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

lf64 (5)
  • >> lf64 (5) ( Solaris man: Форматы файлов )
  •  

    NAME

    lf64 - transitional interfaces for 64-bit file offsets
     
    

    DESCRIPTION

    The data types, interfaces, and macros described on this page provide explicit access to 64-bit file offsets. They are accessible through the transitional compilation environment described on the lfcompile64(5) manual page. The function prototype and semantics of a transitional interface are equivalent to those of the standard version of the call, except that relevant data types are 64-bit entities.  

    Data Types

    The following tables list the standard data or struct types in the left-hand column and their corresponding explicit 64-bit file offset types in the right-hand column, grouped by header. The absence of an entry in the left-hand column indicates that there is no existing explicit 32-bit type that corresponds to the 64-bit type listed in the right---hand column. Note that in a 64-bit application, the standard definition is equivalent to the 64-bit file offset definition.  

    <aio.h>

    struct aiocbstruct aiocb64

       off_t aio_offset;
    off64_t aio_offset;

     

    <sys/dirent.h>

    struct direntstruct dirent64

       ino_t d_ino;
    ino64_t d_ino;

       off_t d_off;

     

    <sys/fcntl.h>

    struct flockstruct flock64

       off_t l_start;
    off64_t l_start;

       off_t l_len;
    F_SETLK
    F_SETLKW
    F_GETLK
    F_FREESP
    F_ALLOCSP

     

    <sys/stdio.h>

    fpos_tfpos64_t

     

    <sys/resource.h>

    rlim_trlim64_t
    struct rlimitstruct rlimit64

       rlim_t rlim_cur;

       rlim_t rlim_max;
    RLIM_INFINITY
    RLIM_SAVED_MAX
    RLIM_SAVED_CUR

     

    <sys/stat.h>

    struct statstruct stat64

       ino_t st_ino;
    ino64_t st_ino;

       off_t st_size;

       blkcnt_t st_blocks;

     

    <sys/statvfs.h>

    struct statvfsstruct statvfs64

       fsblkcnt_t f_blocks;
    fsblkcnt64_t f_blocks;

       fsblkcnt_t f_bfree;

       fsblkcnt_t f_bavial;

       fsfilcnt_t  f_files;

       fsfilcnt_t  f_ffree;

       fsfilcnt_t  f_favail;

     

    <sys/types.h>

    off_t;off64_t;
    ino_t;ino64_t;
    blkcnt_t;
    fsblkcnt_t;
    fsfilcnt_t;

     

    <unistd.h>

    _LFS64_LARGEFILE
    _LFS64_STDIO

     

    <sys/unistd.h>

    _CS_LFS64_CFLAGS
    _CS_LFS64_LDFLAGS

     

    System Interfaces

    The following tables display the standard API and the corresponding transitional interfaces for 64-bit file offsets. The interfaces are grouped by header. The interface name and the affected data types are displayed in courier font.  

    <aio.h>

    int aio_cancel(..., int aio_cancel64(...,

       struct aiocb *);
    struct aiocb64 *);
    int aio_error(

       const struct aiocb *);
    int aio_fsync(...,

       struct aiocb *);
    int aio_read(struct aiocb *);
    int aio_return(struct aiocb *);
    int aio_suspend(

       const struct aiocb *, ...);
    int aio_waitn(aiocb_t *[],

       ...);
    int aio_write(struct aiocb *);
    int lio_listio(...,

       const struct aiocb *, ...);

     

    <dirent.h>

    int alphasort(int alphasort64(

       const struct dirent **, 
    const struct dirent64 **,

       const struct dirent **)
    struct dirent *readdir();
    struct dirent *readdir_r();
    int scandir(...,

       struct dirent *(*[]), 

       int (*)(const struct dirent *),

       int (*)(const struct dirent **,

          const struct dirent **))

     

    <fcntl.h>

    int attropen();int attropen64();
    int creat();int creat64();
    int open();
    int openat();
    int posix_fadvise()
    int posix_fallocate()

     

    <ftw.h>

    int ftw(...,int ftw64(...,

       const struct stat *, ...);
    const struct stat64 *, ...);
    int nftw(..

       const struct stat *, ...);

     

    <libgen.h>

    char *copylist(..., off_t);char *copylist64(..., off64_t);

     

    <stdio.h>

    int fgetpos();int fgetpos64();
    FILE *fopen();FILE *fopen64();
    FILE *freopen();
    int fseeko(..., off_t, ...);
    int fsetpos(...,

       const fpos_t *);
    off_t ftello();
    FILE *tmpfile();

     

    <stdlib.h>

    int mkstemp();int mkstemp64();

     

    <sys/async.h>

    int aioread(..., off_t, ...);int aioread64(..., off64_t, ...);
    int aiowrite(..., off_t, ...);int aiowrite64(..., off64_t, ...);

     

    <sys/dirent.h>

    int getdents(..., dirent);int getdents64(..., dirent64);

     

    <sys/mman.h>

    void mmap(..., off_t);void mmap64(..., off64_t);

     

    <sys/resource.h>

    int getrlimit(...,int getrlimit64(...,

       struct rlimit *);
    struct rlimit64 *);
    int setrlimit(...,

       const struct rlimit *);

     

    <sys/sendfile.h>

    ssize_t sendfile(..., ssize_t sendfile64(...,

       off_t *, ...);
    off64_t *, ...);
    ssize_t sendfilev(..., const

       struct sendfilevec *,  ...);

     

    <sys/stat.h>

    int fstat(..., struct stat *);int fstat64(..., struct stat64 *);
    int fstatat(..., int fstatat64(...,

       struct stat *, int);
    int lstat(..., struct stat *);
    int stat(..., struct stat *);

     

    <sys/statvfs.h>

    int statvfs(...,int statvfs64(...,

       struct statvfs *);
    struct statvfs64 *);
    int fstatvfs(...,

       struct statvfs *);

     

    <ucbinclude/stdio.h>

    FILE *fopen()FILE *fopen64()
    FILE *freopen()FILE *freopen64()

     

    <ucbinclude/sys/dir.h>

    int alphasort(int alphasort64(

       struct direct **,
    struct direct64 **,

       struct direct **);
    struct direct *readdir();
    int scandir(...,

       struct direct *(*[]);,  ...);

     

    <unistd.h>

    int lockf(..., off_t);int lockf64(..., off64_t);
    off_t lseek(..., off_t, ...);off64_t lseek64(..., off64_t, ...);
    int ftruncate(..., off_t);
    ssize_t pread(..., off_t);
    ssize_t pwrite(..., off_t);
    int truncate(..., off_t);

     

    SEE ALSO

    lfcompile(5), lfcompile64(5)


     

    Index

    NAME
    DESCRIPTION
    Data Types
    <aio.h>
    <sys/dirent.h>
    <sys/fcntl.h>
    <sys/stdio.h>
    <sys/resource.h>
    <sys/stat.h>
    <sys/statvfs.h>
    <sys/types.h>
    <unistd.h>
    <sys/unistd.h>
    System Interfaces
    <aio.h>
    <dirent.h>
    <fcntl.h>
    <ftw.h>
    <libgen.h>
    <stdio.h>
    <stdlib.h>
    <sys/async.h>
    <sys/dirent.h>
    <sys/mman.h>
    <sys/resource.h>
    <sys/sendfile.h>
    <sys/stat.h>
    <sys/statvfs.h>
    <ucbinclude/stdio.h>
    <ucbinclude/sys/dir.h>
    <unistd.h>
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Спонсоры:
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2020 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру