]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/3/proc
merge
[plan9front.git] / sys / man / 3 / proc
index d2d3b5eaf113455aad6149ff66ae84a408729374..a97a5449ee79fb965b5105f860d370043423f6b3 100644 (file)
@@ -132,15 +132,17 @@ the six 11-character numbers also held in the process's
 .B #c/cputime
 file
 .IP \-
-the amount of memory used by the process, except its stack,
-in units of 1024 bytes
+the amount of memory used by the process in units of 1024 bytes
 .IP \-
 the base and current scheduling priority, each 11 character numbers
 .PP
-The read-only
+The
 .B args
 file contains the arguments of the program when it was created by
 .IR exec (2).
+Writing to the
+.B args
+file will overwrite its contents.
 If the program was not created by
 .BR exec ,
 such as by
@@ -299,32 +301,39 @@ This bit is inherited across
 and
 .IR exec (2).
 .TP 10n
-.B "close\ \fIn
-Close file descriptor
-.I n
-in the process.
-.TP 10n
-.B closefiles
-Close all open file descriptors in the process.
-.TP 10n
 .B nohang
 Clear the hang bit.
 .TP 10n
+.B private
+Make it impossible to read the process's user memory.
+This property is inherited on
+.IR fork (2),
+cleared on
+.IR exec (2),
+and is not otherwise resettable.
+.TP 10n
 .B noswap
 Don't allow this process to be swapped out.  This should
 be used carefully and sparingly or the system could run
 out of memory.  It is meant for processes that can't be
-swapped, like the ones implementing the swap device and for
-processes containing sensitive data.
+swapped, like the local fileserver implementing the swap
+device and for processes containing sensitive data.
+This property is inherited on
+.IR fork (2),
+cleared on
+.IR exec (2),
+and is not otherwise resettable.
 .TP 10n
 .B kill
 Kill the process the next time it crosses the user/kernel boundary.
 .TP 10n
-.B private
-Make it impossible to read the process's user memory.
-This property is inherited on fork, cleared on
-.IR exec (2),
-and is not otherwise resettable.
+.B "close\ \fIn
+Close file descriptor
+.I n
+in the process.
+.TP 10n
+.B closefiles
+Close all open file descriptors in the process.
 .TP 10n
 .B "pri\ \fIn
 Set the base priority for the process to the integer