provide procsetname(2) manpage
This commit is contained in:
parent
19166f2cf3
commit
a600610fde
1 changed files with 21 additions and 0 deletions
21
sys/man/2/procsetname
Normal file
21
sys/man/2/procsetname
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
.TH PROCSETNAME 2
|
||||||
|
.SH NAME
|
||||||
|
procsetname \- set process arguments
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B #include <u.h>
|
||||||
|
.br
|
||||||
|
.B #include <libc.h>
|
||||||
|
.PP
|
||||||
|
.B
|
||||||
|
void procsetname(char *fmt, ...)
|
||||||
|
.SH DESCRIPTION
|
||||||
|
.I Procsetname
|
||||||
|
overrides the current process arguments by writing to its
|
||||||
|
.BI /proc/ pid /args
|
||||||
|
file.
|
||||||
|
The process arguments are informational only.
|
||||||
|
.SH SOURCE
|
||||||
|
.B /sys/src/libc/9sys/procsetname.c
|
||||||
|
.SH SEE ALSO
|
||||||
|
.IR thread (2),
|
||||||
|
.IR proc (3)
|
Loading…
Reference in a new issue