Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/fs.d/ufs/volcopy/
H A Dvolcopy.c1499 char nam_buf[21]; in getname() local
1501 nam_buf[0] = '\0'; in getname()
1504 fgets(nam_buf, 20, Devtty); in getname()
1505 nam_buf[20] = '\0'; in getname()
1506 lastchar = strlen(nam_buf) - 1; in getname()
1507 if (nam_buf[lastchar] == '\n') in getname()
1508 nam_buf[lastchar] = '\0'; /* remove it */ in getname()
1509 if (nam_buf[0] != '\0') in getname()
1510 (void) strcpy(nam_p, nam_buf); in getname()