If the function which called setjmp() returns before longjmp() is called, the behavior is undefined. Some kind of subtle or unsubtle chaos is sure to result.
man 3 setjmp
the elements of argv aren't really const, because these functions permute them. Nevertheless, const is used in the prototype to be compatible with other systems.
2
"timeout argument is a pointer to a timespec structure […] notwithstanding the prototype shown above, for some operations, the least significant four bytes of this argument are instead used as an integer whose meaning is determined by the operation."
Thanks to @HeinrichKuttler.
3
-u or --underline-special
Causes backspaces and carriage returns to be treated as printable characters [...]
-U or --UNDERLINE-SPECIAL
Causes backspaces, tabs, carriage returns and [...] to be treated as control characters
1
Starting with version 2.1, glibc provided an emulation of pselect() that was implemented using sigprocmask(2) and select().
This implementation remained vulnerable to the very race condition that pselect() was designed to prevent.
Modern versions of glibc use the (race-free) …
Because terminfo conventions for representing padding in string capabilities differ from termcap's, tputs("50"); will put out a literal "50" rather than busy-waiting for 50 milliseconds. Cope with it.
1
Linux […] appends a null terminator if none is supplied in sun_path.
However, there is one case where confusing behavior can result: if 108 non-null bytes are supplied […], then the addition of the null terminator takes the length of the pathname beyond sizeof(sun_path).
Should it, though?
If there are some parts of the specified address range that are not mapped, the Linux version of madvise() ignores them and applies the call to the rest (but returns ENOMEM from the system call, as it should).
D Equivalent to ld; this exists only for backward compatibility. (Note: thus only in libc4. In libc5 and glibc the %D is silently ignored, causing old programs to fail mysteriously.)
The CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID clocks are realized on many platforms using timers from the CPUs … These registers may differ between CPUs and as a consequence these clocks may return bogus results if a process is migrated to another CPU.
Special post, shit the C++ standard says:
error_complexity The complexity of an attempted match against a regular expression exceeded a preset level.
RETURN VALUE
Upon successful completion, pthread_once() returns zero. Otherwise, an error number is returned to indicate the error.
ERRORS
No errors are defined.
The pthread_once() function will not return an error code of [EINTR].
Shit Manpages Say retweeted
Replying to @dskaitlyn @samscam
-i prompt before every removal
-I prompt once before removing more than three files, or when removing recursively; less intrusive than -i, while still giving protection against most mistakes
[ man rm / @NetBSD ]
When users complained about data loss caused by a miscompilation of e2fsck(8), glibc 2.1.3 added the link-time warning "the `llseek´ function may be dangerous; use `lseek64´ instead."
Shit Manpages Say retweeted
We are currently appreciating the pee(1) man page manpages.debian.org/buster/m… by @miekg
The intent of pthread_atfork() was to provide a mechanism whereby the application (or a library) could ensure that mutexes and other process and thread state would be restored to a consistent state. In practice, this task is generally too difficult to be practicable.
CLONE_PID (Linux 2.0 to 2.5.15)
If CLONE_PID is set, the child process is created with the same process ID as the calling process. This is good for hacking the system, but otherwise of not much use.
man7.org/linux/man-pages/man…
Shit Manpages Say retweeted
"Setting the MTU to too small values may cause kernel crashes."
man7.org/linux/man-pages/man…




