Now `perror` is unlikely to be on the hot path by any means, and this only happens if you haven't interacted with stderr at all...
Now `perror` is unlikely to be on the hot path by any means, and this only happens if you haven't interacted with stderr at all...
Musl handles this in 4 lines of code: 2 to save the locale and orientation before printing the message, and 2 to restore them afterwards.
Glibc on the other hand checks if the orientation is unset...
Musl handles this in 4 lines of code: 2 to save the locale and orientation before printing the message, and 2 to restore them afterwards.
Glibc on the other hand checks if the orientation is unset...
ps -Nt - -u $(ps -eo user= | sort -u | grep -v "^$(whoami)$" | paste -sd, -) -o ppid,pid,pgid,sid,tty,tpgid,stat,uid,time,command
Which says "get every process that is NOT 'all processes that do not have a terminal and whose user isn't me'".
ps -Nt - -u $(ps -eo user= | sort -u | grep -v "^$(whoami)$" | paste -sd, -) -o ppid,pid,pgid,sid,tty,tpgid,stat,uid,time,command
Which says "get every process that is NOT 'all processes that do not have a terminal and whose user isn't me'".