SCCS-vsn: usr.bin/f77/libU77/stat_.c 1.2
SCCS-vsn: usr.bin/f77/libU77/fstat_.c 1.3
-char id_fstat[] = "@(#)fstat_.c 1.2";
+char id_fstat[] = "@(#)fstat_.c 1.3";
*
* get file status
*
* calling sequence:
*
* get file status
*
* calling sequence:
- * integer fstat, statb(11)
+ * integer fstat, statb(12)
* call fstat (name, statb)
* where:
* 'statb' will receive the stat structure for file 'name'.
* call fstat (name, statb)
* where:
* 'statb' will receive the stat structure for file 'name'.
*stbuf++ = statb.st_atime;
*stbuf++ = statb.st_mtime;
*stbuf++ = statb.st_ctime;
*stbuf++ = statb.st_atime;
*stbuf++ = statb.st_mtime;
*stbuf++ = statb.st_ctime;
+ *stbuf++ = statb.st_blksize;
return(0L);
}
return ((long)errno);
return(0L);
}
return ((long)errno);
-char id_stat[] = "@(#)stat_.c 1.1";
+char id_stat[] = "@(#)stat_.c 1.2";
*
* get file status
*
* calling sequence:
*
* get file status
*
* calling sequence:
- * integer stat, statb(11)
+ * integer stat, statb(12)
* call stat (name, statb)
* where:
* 'statb' will receive the stat structure for file 'name'.
* call stat (name, statb)
* where:
* 'statb' will receive the stat structure for file 'name'.
long stat_(name, stbuf, namlen)
char *name; long *stbuf, namlen;
{
long stat_(name, stbuf, namlen)
char *name; long *stbuf, namlen;
{
struct stat statb;
if (namlen >= sizeof buf)
struct stat statb;
if (namlen >= sizeof buf)
*stbuf++ = statb.st_atime;
*stbuf++ = statb.st_mtime;
*stbuf++ = statb.st_ctime;
*stbuf++ = statb.st_atime;
*stbuf++ = statb.st_mtime;
*stbuf++ = statb.st_ctime;
+ *stbuf++ = statb.st_blksize;
return(0L);
}
return ((long)errno);
return(0L);
}
return ((long)errno);