Lines Matching defs:nbuf
51 char *nbuf;
57 if ((nbuf = (void *)malloc(nsize)) == NULL) {
62 (void) memset(nbuf, 0, nsize);
64 ret = conv2utmpx(nbuf, buf, size);
66 if ((ret = _write(fd, nbuf, ret)) == -1) {
67 free(nbuf);
71 free(nbuf);
86 conv2utmpx(char *nbuf, char *buf, int len)
91 utx = (struct utmpx *) nbuf;
114 return ((char *) utx - nbuf);