setfilemode
(void) setfilemode(file, fd, mode, S_ISLNK(st.st_mode));
static int setfilemode(char *, int, int, int);