ITEM: CA5063L

Programming changes for large file support


Env:    AIX 4.2

Desc:   Programming changes to take advantage of Large File Support.

Action: Filesystem must first be setup for Large File Support.
        smitty crjfsbf
        Then compile programs with -D_LARGE_FILES.  This will cause
        the compiler to redefine the following functions:

        item          Redefined        item          Redefined
        -------------------------------------------------------
        off_t         long long        fpos_t        long long
        struct stat   struct stat64    stat()        stat64()
        fstat()       fstat64()        lstat()       lstat64()
        mmap()        mmap64()         lockf()       lockf64()
        struct flock  struct flock64   open()        open64()
        creat()       creat64()        F_GETLK       F_GETLK64
        F_SETLK       F_SETLK64        F_SETLKW      F_SETLKW64
        ftw()         ftw64()          nftw()        nftw64()
        fseeko()      fseeko64()       ftello()      ftello64()
        fgetpos()     fgetpos64()      fsetpos()     fsetpos64()
        fopen()       fopen64()        freopen()     freopen64()
        lseek()       lseek64()        ftrunctate()  ftruncate64()
        trunctate()   trunctate64()    fclear()      fclear64()

        change the fsize entry in /etc/security/limits to the
        desired size or -1 for unlimited or use the following:

        struct rlimit r;
        r.rlim_cur = RLIM_INFINITY;
        setrlimit(RLIMIT_FSIZE, &r);


Support Line: Programming changes for large file support ITEM: CA5063L
Dated: June 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:18
Comments or suggestions? Contact us