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

/illumos-gate/usr/src/cmd/ps/
H A Ducbps.c116 #define DNSIZE 14 macro
118 char dname[DNSIZE]; /* device name */
786 if (leng < DNSIZE + 4)
789 start = leng - (DNSIZE - 1);
794 (void) strlcpy(dp->dname, &name[start], DNSIZE);
796 (void) strlcpy(dp->dname, &name[i+1], DNSIZE);
H A Dps.c250 #define DNSIZE 14 macro
252 char dname[DNSIZE]; /* device name */
1250 if (leng < DNSIZE + 4)
1253 start = leng - DNSIZE - 1;
1258 (void) strncpy(dp->dname, &name[start], DNSIZE);
1260 (void) strncpy(dp->dname, &name[i+1], DNSIZE);

Completed in 50 milliseconds