mirror of https://github.com/mkerrisk/man-pages
prctl.2: PR_SET_NAME silently truncates strings that exceed 16 bytes
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
db6d60b30a
commit
ea55bc7b3a
|
@ -241,6 +241,8 @@ using the value in the location pointed to by
|
||||||
The name can be up to 16 bytes long,
|
The name can be up to 16 bytes long,
|
||||||
.\" TASK_COMM_LEN in include/linux/sched.h
|
.\" TASK_COMM_LEN in include/linux/sched.h
|
||||||
including the terminating null byte.
|
including the terminating null byte.
|
||||||
|
(If the length of the string, including the terminating null byte,
|
||||||
|
exceeds 16 bytes, the string is silently truncated.)
|
||||||
This is the same attribute that can be set via
|
This is the same attribute that can be set via
|
||||||
.BR pthread_setname_np (3)
|
.BR pthread_setname_np (3)
|
||||||
and retrieved using
|
and retrieved using
|
||||||
|
|
Loading…
Reference in New Issue