version 1.7, 2001/02/05 07:55:36 |
version 1.8, 2001/07/12 05:17:03 |
|
|
{ |
{ |
char modep[15], *user_from_uid(), *group_from_gid(); |
char modep[15], *user_from_uid(), *group_from_gid(); |
|
|
(void)printf("%6u %4qd ", sb->st_ino, sb->st_blocks); |
(void)printf("%6u %4lld ", sb->st_ino, (long long)sb->st_blocks); |
(void)strmode(sb->st_mode, modep); |
(void)strmode(sb->st_mode, modep); |
(void)printf("%s %3u %-*.*s %-*.*s ", modep, sb->st_nlink, |
(void)printf("%s %3u %-*.*s %-*.*s ", modep, sb->st_nlink, |
NAME_WIDTH, UT_NAMESIZE, user_from_uid(sb->st_uid, 0), |
NAME_WIDTH, UT_NAMESIZE, user_from_uid(sb->st_uid, 0), |
|
|
(void)printf("%3d, %3d ", major(sb->st_rdev), |
(void)printf("%3d, %3d ", major(sb->st_rdev), |
minor(sb->st_rdev)); |
minor(sb->st_rdev)); |
else |
else |
(void)printf("%8qd ", sb->st_size); |
(void)printf("%8lld ", (long long)sb->st_size); |
printtime(sb->st_mtime); |
printtime(sb->st_mtime); |
(void)printf("%s", name); |
(void)printf("%s", name); |
if (S_ISLNK(sb->st_mode)) |
if (S_ISLNK(sb->st_mode)) |