Searched refs:SIZEOFPID (Results 1 – 8 of 8) sorted by relevance
/illumos-gate/usr/src/cmd/tip/ |
H A D | uucplock.c | 32 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro 82 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ in ulockf() 86 (void) snprintf(pid, sizeof (pid), "%*d\n", SIZEOFPID, in ulockf() 120 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */ in checkLock() 129 ret = read(fd, (char *)alpid, SIZEOFPID+1); /* +1 for '\n' */ in checkLock() 131 if (ret != (SIZEOFPID+1)) in checkLock() 222 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) { in onelock()
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | ulockf.c | 53 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ in mklock() 60 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long)getpid()); in mklock() 94 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */ in cklock() 107 ret = read(fd, (char *)alpid, SIZEOFPID + 1); /* +1 for '\n' */ in cklock() 109 if (ret != (SIZEOFPID+1)) { in cklock() 209 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) { in onelock()
|
H A D | uucp.h | 224 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | ulockf.c | 57 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ in mklock() 65 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long)getpid()); in mklock() 107 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */ in cklock() 119 ret = read(fd, (char *)alpid, SIZEOFPID + 1); /* +1 for '\n' */ in cklock() 121 if (ret != (SIZEOFPID+1)) { in cklock() 294 if (write(fd, pid, SIZEOFPID + 1) != (SIZEOFPID + 1)) { in onelock()
|
H A D | uucp.h | 270 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | ulockf.c | 63 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ 71 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long) getpid()); 113 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */ 124 ret = read(fd, (char *) alpid, SIZEOFPID+1); /* +1 for '\n' */ 126 if (ret != (SIZEOFPID+1)) { 310 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) {
|
H A D | uucp.h | 329 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
|
H A D | uustat.c | 1002 char alpid[SIZEOFPID+2]; /* +2 for '\n' and null */ in lckpid() 1024 ret = read(fd, alpid, SIZEOFPID+2); /* +2 for '\n' and null */ in lckpid()
|