Searched refs:ut (Results 1 - 7 of 7) sorted by relevance

/ast/src/lib/libcmd/
H A Duname.c146 uname(register struct utsname* ut) argument
169 if (gethostname(ut->nodename, sizeof(ut->nodename) - 1))
172 strncpy(ut->nodename, "local", sizeof(ut->nodename) - 1);
175 if (!(ut->sysname = sys))
177 if (!*(ut->sysname = SYSNAME))
178 ut->sysname = ut->nodename;
180 if (!(ut
262 struct utsname ut; local
[all...]
/ast/src/cmd/builtin/
H A Dwho.c135 # define dead(ut) (nonuser(ut))
139 # define dead(ut) ((ut).ut_type != USER_PROCESS)
144 # define dead(ut) ((ut).ut_type == DEAD_PROCESS)
147 # define dead(ut) 0
151 #define skip(ut) (!*ut.ut_user||!*ut
213 struct utmpx ut; local
[all...]
/ast/src/cmd/3d/
H A Dtouch.c83 struct utimbuf ut; local
85 time_t ut[2]; local
107 ut.actime = atime;
108 ut.modtime = mtime;
110 n = utime(file, (force < 0 || atime || mtime) ? &ut : (struct utimbuf*)0);
112 n = utime(file, &ut);
115 ut[0] = atime;
116 ut[1] = mtime;
117 n = utime(file, ut);
149 return((force < 0 || atime || mtime) ? utime(file, &ut)
[all...]
H A Dcopy.c59 struct utimbuf ut; local
106 ut.actime = st->st_atime;
107 ut.modtime = st->st_mtime;
108 UTIME(state.path.name, &ut);
/ast/src/cmd/proto/
H A Dproto.c258 time_t ut[2]; local
272 ut[0] = st.st_atime;
273 ut[1] = st.st_mtime;
274 preserve = utime(oldfile, ut);
/ast/src/lib/libast/comp/
H A Domitted.c1050 utimes(const char* path, const struct timeval* ut) argument
1057 if ((r = sysutimes(path, ut)) && errno == ENOENT && execrate(path, buf, sizeof(buf), 0))
1060 r = sysutimes(path = buf, ut);
1068 utime(const char* path, const struct utimbuf* ut) argument
1075 if ((r = sysutime(path, ut)) && errno == ENOENT && execrate(path, buf, sizeof(buf), 0))
1078 r = sysutime(path = buf, ut);
/ast/src/cmd/INIT/
H A Dproto.c174 time_t ut[2]; local
188 ut[0] = st.st_atime;
189 ut[1] = st.st_mtime;
190 preserve = utime(oldfile, ut);

Completed in 37 milliseconds