Added <fcntl.h> to SYNOPSIS.

This commit is contained in:
Michael Kerrisk 2007-10-08 18:45:41 +00:00
parent 47b32c0711
commit b3f30a82c9
12 changed files with 12 additions and 1 deletions

View File

@ -30,7 +30,7 @@ directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h>
.B #include <fcntl.h> /* Definition of AT_* constants */
.B #include <unistd.h>
.sp
.BI "int faccessat(int " dirfd ", const char *" pathname ", int " \

View File

@ -30,6 +30,7 @@ file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h> /* Definition of AT_* constants */
.B #include <sys/stat.h>
.sp
.BI "int fchmodat(int " dirfd ", const char *" pathname ", mode_t " \

View File

@ -30,6 +30,7 @@ file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h> /* Definition of AT_* constants */
.B #include <unistd.h>
.sp
.BI "int fchownat(int " dirfd ", const char *" pathname ,

View File

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

View File

@ -30,6 +30,7 @@ directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h> /* Definition of AT_* constants */
.B #include <fcntl.h>
.sp
.BI "int futimesat(int " dirfd ", const char *" pathname ,

View File

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

View File

@ -25,6 +25,7 @@
.\"
.TH MKDIRAT 2 2006-04-06 "Linux" "Linux Programmer's Manual"
.SH NAME
.B #include <fcntl.h> /* Definition of AT_* constants */
mkdirat \- create a directory relative to a directory file descriptor
.SH SYNOPSIS
.nf

View File

@ -30,6 +30,7 @@ file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h> /* Definition of AT_* constants */
.B #include <sys/stat.h>
.sp
.BI "int mknodat(int " dirfd ", const char *" pathname ", mode_t " mode \

View File

@ -30,6 +30,7 @@ a directory file descriptor
.SH SYNOPSIS
.nf
.B #define _ATFILE_SOURCE
.B #include <fcntl.h> /* Definition of AT_* constants */
.B #include <unistd.h>
.sp
.BI "int readlinkat(int " dirfd ", const char *" pathname ,

View File

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

View File

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

View File

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