Lines Matching defs:nbuf
55 char *nbuf;
61 if ((nbuf = (void *)malloc(nsize)) == NULL) {
66 (void) memset(nbuf, 0, nsize);
68 ret = conv2utmpx(nbuf, buf, size);
70 if ((ret = _write(fd, nbuf, ret)) == -1) {
73 free(nbuf);
77 free(nbuf);
98 conv2utmpx(char *nbuf, char *buf, int len)
103 utx = (struct utmpx *) nbuf;
126 return ((char *) utx - nbuf);