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

/illumos-gate/usr/src/cmd/tip/
H A Duucplock.c34 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
84 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */
88 (void) snprintf(pid, sizeof (pid), "%*d\n", SIZEOFPID,
122 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */
131 ret = read(fd, (char *)alpid, SIZEOFPID+1); /* +1 for '\n' */
133 if (ret != (SIZEOFPID+1))
224 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) {
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dulockf.c55 static char pid[SIZEOFPID+2] = { '\0' }; /* +2 for '\n' and NULL */
62 (void) sprintf(pid, "%*ld\n", SIZEOFPID, (long)getpid());
96 char alpid[SIZEOFPID+2]; /* +2 for '\n' and NULL */
109 ret = read(fd, (char *)alpid, SIZEOFPID + 1); /* +1 for '\n' */
111 if (ret != (SIZEOFPID+1)) {
211 if (write(fd, pid, SIZEOFPID+1) != (SIZEOFPID+1)) {
H A Duucp.h226 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
/illumos-gate/usr/src/cmd/bnu/
H A Dulockf.c66 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 Duucp.h331 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro
H A Duustat.c1004 char alpid[SIZEOFPID+2]; /* +2 for '\n' and null */
1026 ret = read(fd, alpid, SIZEOFPID+2); /* +2 for '\n' and null */
/illumos-gate/usr/src/cmd/ttymon/
H A Dulockf.c65 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 Duucp.h269 #define SIZEOFPID 10 /* maximum number of digits in a pid */ macro

Completed in 101 milliseconds