Home
last modified time | relevance | path

Searched refs:Pidfd (Results 1 – 1 of 1) sorted by relevance

/titanic_50/usr/src/cmd/listen/
H A Dlisten.c142 int Pidfd; /* locked pid file (fd 4) */ variable
401 if ((Pidfd = open(PIDNAME, PIDOFLAG, PIDMODE)) == -1) { in pid_open()
406 if (lockf(Pidfd, 2, 0L) == -1) { in pid_open()
413 ftruncate(Pidfd, 0); in pid_open()
415 while ((ret = write(Pidfd, pidstring, i)) != i) { in pid_open()