Searched defs:statBuf (Results 1 - 4 of 4) sorted by relevance

/ast/src/lib/libtksh/tcl/
H A DtclGlob.c78 struct stat statBuf;
93 if ((stat(dirName, &statBuf) != 0) || !S_ISDIR(statBuf.st_mode)) {
77 struct stat statBuf; local
H A DtclCmdAH.c590 struct stat statBuf;
827 if (stat(fileName, &statBuf) == -1) {
830 sprintf(interp->result, "%ld", (long) statBuf.st_atime);
854 if (lstat(fileName, &statBuf) == -1) {
860 result = StoreStatData(interp, argv[3], &statBuf);
867 if (stat(fileName, &statBuf) == -1) {
870 sprintf(interp->result, "%ld", (long) statBuf.st_mtime);
917 if (stat(fileName, &statBuf) == -1) {
920 sprintf(interp->result, "%lu", (unsigned long) statBuf.st_size);
931 if (stat(fileName, &statBuf)
579 struct stat statBuf; local
[all...]
/ast/src/lib/libtksh/src/
H A Dfilecmd.c47 struct stat statBuf; local
192 if (stat(fileName, &statBuf) == -1) {
195 sprintf(interp->result, "%ld", statBuf.st_atime);
219 if (lstat(fileName, &statBuf) == -1) {
225 result = StoreStatData(interp, argv[3], &statBuf);
232 if (stat(fileName, &statBuf) == -1) {
235 sprintf(interp->result, "%ld", statBuf.st_mtime);
282 if (stat(fileName, &statBuf) == -1) {
285 sprintf(interp->result, "%ld", statBuf.st_size);
296 if (stat(fileName, &statBuf)
[all...]
/ast/src/cmd/bzip/
H A Dbzip2.c748 struct MY_STAT statBuf; local
750 i = MY_LSTAT ( name, &statBuf );
752 if (MY_S_IFREG(statBuf.st_mode)) return False;
762 struct MY_STAT statBuf; local
767 retVal = MY_LSTAT ( srcName, &statBuf );
770 uTimBuf.actime = statBuf.st_atime;
771 uTimBuf.modtime = statBuf.st_mtime;
774 retVal = chmod ( dstName, statBuf.st_mode );
782 retVal = chown ( dstName, statBuf.st_uid, statBuf
[all...]

Completed in 17 milliseconds