Add "#define _ATFILE_SOURCE" to SYNOPSIS

This commit is contained in:
Michael Kerrisk 2007-03-01 02:31:08 +00:00
parent b438981878
commit d44417fb63
14 changed files with 14 additions and 0 deletions

View File

@ -29,6 +29,7 @@ faccessat \- check user's permissions of a file relative to a \
directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h>
.B #include <unistd.h>
.sp

View File

@ -29,6 +29,7 @@ fchmodat \- change permissions of a file relative to a directory \
file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <sys/stat.h>
.sp
.BI "int fchmodat(int " dirfd ", const char *" pathname ", mode_t " \

View File

@ -29,6 +29,7 @@ fchownat \- change ownership of a file relative to a directory \
file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <unistd.h>
.sp
.BI "int fchownat(int " dirfd ", const char *" pathname ,

View File

@ -28,6 +28,7 @@
fstatat \- get file status relative to a directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <sys/stat.h>
.sp
.BI "int fstatat(int " dirfd ", const char *" pathname ", struct stat *" \

View File

@ -29,6 +29,7 @@ futimes \- change timestamps of a file relative to a \
directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h>
.sp
.BI "int futimesat(int " dirfd ", const char *" pathname ,

View File

@ -28,6 +28,7 @@
linkat \- create a file link relative to directory file descriptors
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <unistd.h>
.sp
.BI "int linkat(int " olddirfd ", const char *" oldpath ,

View File

@ -28,6 +28,7 @@
mkdirat \- create a directory relative to a directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <sys/stat.h>
.sp
.BI "int mkdirat(int " dirfd ", const char *" pathname ", mode_t " mode );

View File

@ -29,6 +29,7 @@ mknodat \- create a special or ordinary file relative to a directory
file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <sys/stat.h>
.sp
.BI "int mknodat(int " dirfd ", const char *" pathname ", mode_t " mode \

View File

@ -28,6 +28,7 @@
openat \- open a file relative to a directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h>
.sp
.BI "int openat(int " dirfd ", const char *" pathname ", int " flags );

View File

@ -29,6 +29,7 @@ readlinkat \- read value of a symbolic link relative to
a directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <unistd.h>
.sp
.BI "int readlinkat(int " dirfd ", const char *" pathname \

View File

@ -28,6 +28,7 @@
renameat \- rename a file relative to directory file descriptors
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <stdio.h>
.sp
.BI "int renameat(int " olddirfd ", const char *" oldpath ,

View File

@ -28,6 +28,7 @@
symlinkat \- create a symbolic link relative to a directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <stdio.h>
.sp
.BI "int symlinkat(const char *" oldpath ", int " newdirfd \

View File

@ -28,6 +28,7 @@
unlinkat \- remove a directory entry relative to a directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h>
.sp
.BI "int unlinkat(int " dirfd ", const char *" pathname ", int " flags );

View File

@ -28,6 +28,7 @@
mkfifoat \- make a FIFO (named pipe) relative to a directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <sys/stat.h>
.sp
.BI "int mkfifoat(int " dirfd ", const char *" pathname ", mode_t " mode );