Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stat64(5) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stat(2)

stat64(2)

stat(5)

types(5)



stat(5)                                                                stat(5)



NAME
     stat64 - data returned by stat64 system call

SYNOPSIS
     #include <sys/types.h>
     #include <sys/stat.h>

DESCRIPTION
     The system calls stat64, lstat64 and fstat64 return data in a stat64
     structure, which is defined in stat.h  and includes the following
     members:
        devt        stdev;
        ino64t      stino;
        modet       stmode;
        nlinkt      stnlink;
        uidt        stuid;
        gidt        stgid;
        devt        strdev;
        off64t      stsize;
        timespect   statim;
        timespect   stmtim;
        timespect   stctim;
        long         stblksize;
        int64t    stblocks;
        char         stfstype[STFSTYPSZ];

     The constants used in the stmode field are also defined in this file:
     #define   SIFMT     /* type of file */
     #define   SIAMB     /* access mode bits */
     #define   SIFIFO    /* fifo */
     #define   SIFCHR    /* character special */
     #define   SIFDIR    /* directory */
     #define   SIFNAM    /* XENIX special named file */
     #define   SINSEM    /* XENIX semaphore subtype of IFNAM */
     #define   SINSHD    /* XENIX shared data subtype of IFNAM */
     #define   SIFBLK    /* block special */
     #define   SIFREG    /* regular */
     #define   SIFLNK    /* symbolic link */
     #define   SIFSOCK   /* socket */
     #define   SISUID    /* set user id on execution */
     #define   SISGID    /* set group id on execution */
     #define   SISVTX    /* save swapped text even after use */
     #define   SIREAD    /* read permission, owner */
     #define   SIWRITE   /* write permission, owner */
     #define   SIEXEC    /* execute/search permission, owner */
     #define   SENFMT    /* record locking enforcement flag */
     #define   SIRWXU    /* read, write, execute: owner */
     #define   SIRUSR    /* read permission: owner */
     #define   SIWUSR    /* write permission: owner */
     #define   SIXUSR    /* execute permission: owner */





                                                                        Page 1





stat(5)                                                                stat(5)



     #define   SIRWXG    /* read, write, execute: group */
     #define   SIRGRP    /* read permission: group */
     #define   SIWGRP    /* write permission: group */
     #define   SIXGRP    /* execute permission: group */
     #define   SIRWXO    /* read, write, execute: other */
     #define   SIROTH    /* read permission: other */
     #define   SIWOTH    /* write permission: other */
     #define   SIXOTH    /* execute permission: other */
     The following macros are for POSIX conformance:
     #define   SISBLK(mode)      block special file
     #define   SISCHR(mode)      character special file
     #define   SISDIR(mode)      directory file
     #define   SISFIFO(mode)     pipe or fifo file
     #define   SISREG(mode)      regular file
     Additional macros that have been defined:
     #define SISLNK(mode)        symbolic link
     #define SISSOCK(mode)       socket

SEE ALSO
     stat(2), stat64(2), stat(5), types(5)



































                                                                        Page 2



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026