shithub: riscv

ref: 47d3e8fc6394dac68e0cec8ef5f74534cfb68747
dir: /sys/man/2/procsetname/

View raw version
.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)