Searched refs:acctfd (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dhistory.c129 static int acctfd; variable
149 if((acctfd=sh_open(acctfile,
151 (unsigned)acctfd < 10)
154 if((n = fcntl(acctfd, F_DUPFD, 10)) >= 0)
156 close(acctfd);
157 acctfd = n;
160 if(acctfd < 0)
162 acctfd = 0;
168 sfsprintf(newfile,sizeof(newfile),"%.8s%d\0",e_devfdNN,acctfd);
172 fcntl(acctfd,F_SETF
[all...]

Completed in 79 milliseconds