Using a NULL envp does in fact seem to be portable (works
on Solaris and FreeBSD), but the Linux semantics for a NULL
argv certainly aren't consistent with other implementations.
See http://bugzilla.kernel.org/show_bug.cgi?id=8408.
This file displays the "badness" score of the process, which
provides the basis for OOM-killer decisions.
Document /proc/PID/oom_adj, which was new in kernel 2.6.11.
This file influences the oom_score of a process.
Document /proc/PID/limits, which was new in 2.6.24.
This file displays a process's resource limits.
Document /proc/PID/fdinfo/*, which was new in 2.6.22.
These files display info about each descriptor opened by the
process: the current file offset, and the file access mode +
file status flags as set in open() or fcntl(F_SETFL).
Document /proc/PID/mountinfo, which was new in 2.6.26.
This file displays information about mount points.
Closely based on text from Documentation/filesystems/proc.txt.
Document /proc/PID/mountstats, which was new in 2.6.17.
This file displays statistics about mount points.
Add an example program demonstrating use of core_pattern pipe syntax.
Document /proc/PID/coredump_filter, new in kernel 2.6.23.
Documentation was based on the text in Documentation/filesystems/proc.txt,
plus testing, and reading the kernel source.
DESCRIPTION: Add some sentences giving an overview of these interfaces.
Add note recommending use of malloc(3).
Change name of brk() argument to the simpler 'addr'.
Add "(void *)" cast to "-1" for error return of sbrk().
Removed some incorrect text about "brk(0)".
Note that SUSv2 specified the return value of sbrk().
Added a detail on the glibc brk() wrapper.
Remove discussions of standards old (C89 and POSIX.1-1990);
CONFORMING TO already discusses the situation with respect
to more recent standards.
"endmntent(), setmntent() [sic] and setmntent()".
This doesn't seem to be true (I can't find mention of
deprecation in any of the LSB specs). Rather, LSB simply
doesn't specify these functions. (LSB 1.3 had a spec of
setmntent(), but not getmntent() or endmntent(), and noted
that having a spec of setmntent() was of little use without
also having a spec of getmntent().)
See also https://lists.linux-foundation.org/pipermail/lsb-discuss/2006-October/003078.html