mirror of https://github.com/mkerrisk/man-pages
prctl.2, putgrent.3, strcat.3, strcpy.3, console_ioctl.4: grfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
ae03dc6613
commit
bd74a87338
|
@ -190,14 +190,14 @@ using the value in the location pointed to by
|
|||
.IR "(char\ *) arg2" .
|
||||
The name can be up to 16 bytes long,
|
||||
.\" TASK_COMM_LEN in include/linux/sched.h
|
||||
and should be null terminated if it contains fewer bytes.
|
||||
and should be null-terminated if it contains fewer bytes.
|
||||
.TP
|
||||
.BR PR_GET_NAME " (since Linux 2.6.11)"
|
||||
Return the process name for the calling process,
|
||||
in the buffer pointed to by
|
||||
.IR "(char\ *) arg2" .
|
||||
The buffer should allow space for up to 16 bytes;
|
||||
the returned string will be null terminated if it is shorter than that.
|
||||
the returned string will be null-terminated if it is shorter than that.
|
||||
.TP
|
||||
.BR PR_SET_PDEATHSIG " (since Linux 2.1.57)"
|
||||
Set the parent process death signal
|
||||
|
|
|
@ -18,7 +18,7 @@ function is the counterpart for
|
|||
The function writes the content of the provided \fIstruct group\fP into the
|
||||
file pointed to by
|
||||
.IR fp .
|
||||
The list of group members must be NULL terminated or NULL initialized.
|
||||
The list of group members must be NULL-terminated or NULL-initialized.
|
||||
.sp
|
||||
The \fIstruct group\fP is defined as follows:
|
||||
.sp
|
||||
|
|
|
@ -53,12 +53,12 @@ function is similar, except that
|
|||
.IP * 3
|
||||
it will use at most \fIn\fP characters from \fIsrc\fP; and
|
||||
.IP *
|
||||
\fIsrc\fP does not need to be null terminated if it contains
|
||||
\fIsrc\fP does not need to be null-terminated if it contains
|
||||
\fIn\fP or more characters.
|
||||
.PP
|
||||
As with
|
||||
.BR strcat (),
|
||||
the resulting string in \fIdest\fP is always null terminated.
|
||||
the resulting string in \fIdest\fP is always null-terminated.
|
||||
.PP
|
||||
If \fIsrc\fP contains \fIn\fP or more characters,
|
||||
.BR strncat ()
|
||||
|
|
|
@ -57,7 +57,7 @@ function is similar, except that at most
|
|||
.BR Warning :
|
||||
If there is no null byte
|
||||
among the first \fIn\fP bytes of \fIsrc\fP,
|
||||
the string placed in \fIdest\fP will not be null terminated.
|
||||
the string placed in \fIdest\fP will not be null-terminated.
|
||||
.PP
|
||||
If the length of
|
||||
.I src
|
||||
|
|
|
@ -325,7 +325,7 @@ struct kbsentry {
|
|||
.fi
|
||||
.in
|
||||
|
||||
\fIkb_string\fP is set to the (NULL terminated) string corresponding to
|
||||
\fIkb_string\fP is set to the (null-terminated) string corresponding to
|
||||
the \fIkb_func\fPth function key action code.
|
||||
.IP \fBKDSKBSENT\fP
|
||||
Sets one function key string entry.
|
||||
|
|
Loading…
Reference in New Issue