Searched refs:SIZEOFPID (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/cmd/tip/ |
H A D | uucplock.c | 34 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro 84 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ in ulockf() 88 (void) snprintf(pid, sizeof (pid), "%*d\n", SIZEOFPID, in ulockf() 122 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */ in checkLock() 131 ret = read(fd, (char *)alpid, SIZEOFPID+1); /* +1 for '\n' */ in checkLock() 133 if (ret != (SIZEOFPID+1)) in checkLock() 224 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) { in onelock()
|
/titanic_44/usr/src/lib/libnsl/dial/ |
H A D | ulockf.c | 55 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ in mklock() 62 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long)getpid()); in mklock() 96 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */ in cklock() 109 ret = read(fd, (char *)alpid, SIZEOFPID + 1); /* +1 for '\n' */ in cklock() 111 if (ret != (SIZEOFPID+1)) { in cklock() 211 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) { in onelock()
|
H A D | uucp.h | 226 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
|
/titanic_44/usr/src/cmd/ttymon/ |
H A D | ulockf.c | 65 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ 73 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long) getpid()); 115 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */ 126 ret = read(fd, (char *) alpid, SIZEOFPID+1); /* +1 for '\n' */ 128 if (ret != (SIZEOFPID+1)) { 312 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) {
|
H A D | uucp.h | 269 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
|
/titanic_44/usr/src/cmd/bnu/ |
H A D | ulockf.c | 66 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */ 74 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long) getpid()); 116 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */ 127 ret = read(fd, (char *) alpid, SIZEOFPID+1); /* +1 for '\n' */ 129 if (ret != (SIZEOFPID+1)) { 313 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) {
|
H A D | uucp.h | 331 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
|
H A D | uustat.c | 1004 char alpid[SIZEOFPID+2]; /* +2 for '\n' and null */ in lckpid() 1026 ret = read(fd, alpid, SIZEOFPID+2); /* +2 for '\n' and null */ in lckpid()
|