Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/mail/
H A Dprintmail.c46 struct stat *stbufp; in printmail() local
52 stbufp = &stbuf; in printmail()
100 if ((stret = stat(mailfile, stbufp)) != A_OK) { in printmail()
104 mf_gid = stbufp->st_gid; in printmail()
105 mf_uid = stbufp->st_uid; in printmail()
106 utimep->actime = stbufp->st_atime; in printmail()
107 utimep->modtime = stbufp->st_mtime; in printmail()
108 file_size = stbufp->st_size; in printmail()
214 stat(mailfile, stbufp); in printmail()
215 if (stbufp->st_size != file_size) { in printmail()
[all …]
/titanic_50/usr/src/cmd/who/
H A Dwho.c134 static struct stat *stbufp; /* ptr to structure */ variable
162 stbufp = &stbuf; in main()
423 if (fstat(fildes, stbufp) == -1) { in main()
430 if ((inittab = malloc(stbufp->st_size + 1)) == NULL) { in main()
433 program, stbufp->st_size); in main()
438 if (read(fildes, inittab, stbufp->st_size) in main()
439 != stbufp->st_size) { in main()
447 inittab[stbufp->st_size] = '\0'; in main()
554 if ((rc = stat(path, stbufp)) == -1) w = '?'; in dump()
555 else if ((stbufp->st_mode & S_IWOTH) || in dump()
[all …]