j
k
j a
j l
Or, you could dup(2) the fd before passing it to fdopendir(3); then it would work everywhere, not just Linux, and the original fd wouldn't be closed.
sounds cleaner. will do
Back to the thread
Back to the list