fd_chdir.c (204B)
1 /* ISC license. */ 2 3 #include <unistd.h> 4 #include <errno.h> 5 #include <skalibs/djbunix.h> 6 7 int fd_chdir (int d) 8 { 9 int r ; 10 do 11 r = fchdir(d) ; 12 while ((r == -1) && (errno == EINTR)) ; 13 return r ; 14 }
skalibsMirror/fork of https://skarnet.org/software/skalibs/ | |
git clone https://ccx.te2000.cz/git/skalibs | |
Log | Files | Refs | README | LICENSE |