mirror of https://github.com/mkerrisk/man-pages
Change "file name" to "filename"
This commit is contained in:
parent
069c98bab0
commit
2c5f10893e
|
@ -70,7 +70,7 @@ struct dirent
|
|||
long d_ino; /* inode number */
|
||||
off_t d_off; /* offset to next \fIdirent\fP */
|
||||
unsigned short d_reclen; /* length of this \fIdirent\fP */
|
||||
char d_name [NAME_MAX+1]; /* file name (null-terminated) */
|
||||
char d_name [NAME_MAX+1]; /* filename (null-terminated) */
|
||||
}
|
||||
.fi
|
||||
.RE
|
||||
|
@ -84,7 +84,7 @@ is the distance from the start of the directory to the start of the next
|
|||
is the size of this entire
|
||||
.IR dirent .
|
||||
.I d_name
|
||||
is a null-terminated file name.
|
||||
is a null-terminated filename.
|
||||
.PP
|
||||
This call supersedes
|
||||
.BR readdir (2).
|
||||
|
|
|
@ -34,7 +34,7 @@ getpid, getppid \- get process identification
|
|||
.SH DESCRIPTION
|
||||
.BR getpid ()
|
||||
returns the process ID of the current process. (This is often used by
|
||||
routines that generate unique temporary file names.)
|
||||
routines that generate unique temporary filenames.)
|
||||
|
||||
.BR getppid ()
|
||||
returns the process ID of the parent of the current process.
|
||||
|
|
|
@ -74,7 +74,7 @@ struct dirent
|
|||
long d_ino; /* inode number */
|
||||
off_t d_off; /* offset to this \fIdirent\fP */
|
||||
unsigned short d_reclen; /* length of this \fId_name\fP */
|
||||
char d_name [NAME_MAX+1]; /* file name (null-terminated) */
|
||||
char d_name [NAME_MAX+1]; /* filename (null-terminated) */
|
||||
}
|
||||
.fi
|
||||
.RE
|
||||
|
@ -89,7 +89,7 @@ is the size of
|
|||
.IR d_name ,
|
||||
not counting the null terminator.
|
||||
.I d_name
|
||||
is a null-terminated file name.
|
||||
is a null-terminated filename.
|
||||
.PP
|
||||
.SH "RETURN VALUE"
|
||||
On success, 1 is returned.
|
||||
|
|
|
@ -330,7 +330,7 @@ Dl_info structure:
|
|||
.sp
|
||||
.nf
|
||||
typedef struct {
|
||||
const char *dli_fname;/* File name of defining object */
|
||||
const char *dli_fname;/* Filename of defining object */
|
||||
void *dli_fbase; /* Load address of that object */
|
||||
const char *dli_sname;/* Name of nearest lower symbol */
|
||||
void *dli_saddr; /* Exact value of nearest symbol */
|
||||
|
|
|
@ -82,7 +82,7 @@ functions can be thought of as
|
|||
.IR argn .
|
||||
Together they describe a list of one or more pointers to null-terminated
|
||||
strings that represent the argument list available to the executed program.
|
||||
The first argument, by convention, should point to the file name associated
|
||||
The first argument, by convention, should point to the filename associated
|
||||
with the file being executed. The list of arguments
|
||||
.I must
|
||||
be terminated by a NULL
|
||||
|
@ -95,7 +95,7 @@ and
|
|||
.BR execvp ()
|
||||
functions provide an array of pointers to null-terminated strings that
|
||||
represent the argument list available to the new program. The first
|
||||
argument, by convention, should point to the file name associated with the
|
||||
argument, by convention, should point to the filename associated with the
|
||||
file being executed. The array of pointers
|
||||
.I must
|
||||
be terminated by a NULL pointer.
|
||||
|
@ -121,7 +121,7 @@ The functions
|
|||
and
|
||||
.BR execvp ()
|
||||
will duplicate the actions of the shell in searching for an executable file
|
||||
if the specified file name does not contain a slash (/) character. The
|
||||
if the specified filename does not contain a slash (/) character. The
|
||||
search path is the path specified in the environment by the
|
||||
.B PATH
|
||||
variable. If this variable isn't specified, the default path
|
||||
|
|
|
@ -42,7 +42,7 @@ for the open file descriptor
|
|||
.BR pathconf ()
|
||||
gets a value for configuration option
|
||||
.I name
|
||||
for the file name
|
||||
for the filename
|
||||
.IR path .
|
||||
.PP
|
||||
The corresponding macros defined in
|
||||
|
|
|
@ -113,7 +113,7 @@ typedef struct _ftsent {
|
|||
char *fts_accpath; /* access path */
|
||||
char *fts_path; /* root path */
|
||||
short fts_pathlen; /* strlen(fts_path) */
|
||||
char *fts_name; /* file name */
|
||||
char *fts_name; /* filename */
|
||||
short fts_namelen; /* strlen(fts_name) */
|
||||
short fts_level; /* depth (\-1 to N) */
|
||||
int fts_errno; /* file errno */
|
||||
|
@ -165,7 +165,7 @@ A file named
|
|||
.Ql \&.
|
||||
or
|
||||
.Ql ..
|
||||
which was not specified as a file name to
|
||||
which was not specified as a filename to
|
||||
.Fn fts_open
|
||||
(see
|
||||
.Dv FTS_SEEDOT ) .
|
||||
|
|
|
@ -124,7 +124,7 @@ is undefined on error.
|
|||
.SH ERRORS
|
||||
.TP
|
||||
.B EACCES
|
||||
Permission to read or search a component of the file name was denied.
|
||||
Permission to read or search a component of the filename was denied.
|
||||
.TP
|
||||
.B EFAULT
|
||||
.IR buf
|
||||
|
|
|
@ -68,9 +68,9 @@ One of the directories in \fIpathname\fP did not allow search
|
|||
.TP
|
||||
.B ENAMETOOLONG
|
||||
Either the total length of \fIpathname\fP is greater than
|
||||
\fBPATH_MAX\fP, or an individual file name component has a length
|
||||
\fBPATH_MAX\fP, or an individual filename component has a length
|
||||
greater than \fBNAME_MAX\fP. In the GNU system, there is no imposed
|
||||
limit on overall file name length, but some file systems may place
|
||||
limit on overall filename length, but some file systems may place
|
||||
limits on the length of a component.
|
||||
.TP
|
||||
.B ENOENT
|
||||
|
|
|
@ -38,7 +38,7 @@ mkstemp \- create a unique temporary file
|
|||
.BI "int mkstemp(char *" template );
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
The \fBmkstemp\fP() function generates a unique temporary file name
|
||||
The \fBmkstemp\fP() function generates a unique temporary filename
|
||||
from \fItemplate\fP. The last six characters of \fItemplate\fP must
|
||||
be XXXXXX and these are replaced with a string that makes the
|
||||
filename unique. The file is then created with mode read/write and
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
.\"
|
||||
.TH MKTEMP 3 1993-04-03 "GNU" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
mktemp \- make a unique temporary file name
|
||||
mktemp \- make a unique temporary filename
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.B #include <stdlib.h>
|
||||
|
|
|
@ -163,7 +163,7 @@ bfname
|
|||
The recno access method stores the in-memory copies of its records
|
||||
in a btree.
|
||||
If bfname is non-NULL, it specifies the name of the btree file,
|
||||
as if specified as the file name for a dbopen of a btree file.
|
||||
as if specified as the filename for a dbopen of a btree file.
|
||||
.PP
|
||||
The data part of the key/data pair used by the recno access method
|
||||
is the same as other access methods.
|
||||
|
|
|
@ -257,7 +257,7 @@ get a line from a stream
|
|||
get next character or word from input stream
|
||||
.TP
|
||||
.B mktemp
|
||||
make temporary file name (unique)
|
||||
make temporary filename (unique)
|
||||
.TP
|
||||
.B perror
|
||||
system error messages
|
||||
|
|
|
@ -87,7 +87,7 @@ find manual pages, etc.)
|
|||
The current working directory. Set by some shells.
|
||||
.TP
|
||||
.B SHELL
|
||||
The file name of the user's login shell.
|
||||
The pathname of the user's login shell.
|
||||
.TP
|
||||
.B TERM
|
||||
The terminal type for which output is to be prepared.
|
||||
|
|
|
@ -66,7 +66,7 @@ The cache is used by the run-time linker,
|
|||
or
|
||||
.IR ld-linux.so .
|
||||
.B ldconfig
|
||||
checks the header and file names of the libraries it encounters when
|
||||
checks the header and filenames of the libraries it encounters when
|
||||
determining which versions should have their links updated.
|
||||
.PP
|
||||
.B ldconfig
|
||||
|
|
Loading…
Reference in New Issue