stat.h(3head) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

stat.h(3head)

stat.h(3HEAD)                       Headers                      stat.h(3HEAD)



NAME
       stat.h, stat - data returned by stat system call

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

DESCRIPTION
       The  system  calls  stat(),  lstat()  and fstat() return data in a stat
       structure, which is defined in <stat.h>.


       The constants used in the st_mode field are also defined in this file:


       tab(); lw(0.81i) lw(1.38i) lw(3.32i) #defineS_IFMT/* type  of  file  */
       #defineS_IAMB/*   access   mode   bits   */  #defineS_IFIFO/*  fifo  */
       #defineS_IFCHR/* character special  */  #defineS_IFDIR/*  directory  */
       #defineS_IFNAM/*  XENIX  special  named  file */ #defineS_INSEM/* XENIX
       semaphore subtype of IFNAM */ #defineS_INSHD/* XENIX shared  data  sub‐
       type  of  IFNAM  */  #defineS_IFBLK/* block special */ #defineS_IFREG/*
       regular */ #defineS_IFLNK/* symbolic link */  #defineS_IFSOCK/*  socket
       */  #defineS_IFDOOR/* door */ #defineS_ISUID/* set user id on execution
       */ #defineS_ISGID/* set group id on execution */ #defineS_ISVTX/*  save
       swapped  text even after use */ #defineS_IREAD/* read permission, owner
       */ #defineS_IWRITE/* write permission, owner */  #defineS_IEXEC/*  exe‐
       cute/search   permission,  owner  */  #defineS_ENFMT/*  record  locking
       enforcement flag */ #defineS_IRWXU/* read,  write,  execute:  owner  */
       #defineS_IRUSR/*  read permission: owner */ #defineS_IWUSR/* write per‐
       mission:  owner  */  #defineS_IXUSR/*  execute  permission:  owner   */
       #defineS_IRWXG/*  read,  write, execute: group */ #defineS_IRGRP/* read
       permission:  group  */  #defineS_IWGRP/*  write  permission:  group  */
       #defineS_IXGRP/*  execute  permission:  group */ #defineS_IRWXO/* read,
       write, execute: other */ #defineS_IROTH/*  read  permission:  other  */
       #defineS_IWOTH/*  write  permission:  other */ #defineS_IXOTH/* execute
       permission: other */



       The following macros are for POSIX conformance. For  more  information,
       see the standards(7) man page.


       tab();  lw(0.78i) lw(1.43i) lw(3.29i) #defineS_ISBLK(mode)block special
       file         #defineS_ISCHR(mode)character         special         file
       #defineS_ISDIR(mode)directory  file  #defineS_ISFIFO(mode)pipe  or fifo
       file #defineS_ISREG(mode)regular file #defineS_ISSOCK(mode)socket file



       The following symbolic constants are defined as distinct integer values
       outside  of the range [0, 999 999 999], for use with the futimens() and
       utimensat() functions:

         #define    UTIME_NOW        use the current time
         #define    UTIME_OMIT       no time change




ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE  VALUE  _  Interface StabilityCommitted _ StandardSee the stan‐
       dards(7) man page.


SEE ALSO
       futimens(2), stat(2), types.h(3HEAD), attributes(7), standards(7)



Oracle Solaris 11.4               11 Apr 2016                    stat.h(3HEAD)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3