summaryrefslogtreecommitdiff
path: root/user/ls.c
AgeCommit message (Collapse)AuthorFilesLines
2022-09-11Use O_RDONLY instead of 0Frans Kaashoek1-1/+2
2022-08-09[user/ls]: List specific device fileJohn Jolly1-0/+1
When using the ls userspace program to list a specific device file, nothing would be displayed. This was because ls only tests for T_FILE and T_DIR. T_DEVICE files would fall through the case block. Adding T_DEVICE to the T_FILE case allows a device file to be listed. $ ls console console 3 19 0
2019-09-10Support exit status for exit/waitFrans Kaashoek1-2/+2
One test case for returning a exit status Passes usertests, but haven't used it to simplify tests
2019-08-27user printf(1 -> printf(Robert Morris1-6/+6
2019-07-04Make size in stat.h be a uint64Frans Kaashoek1-1/+1
Supporting print long using %l (a bit of cheat) Modify ls to print size using %l We should probably update size in inode too.
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris1-0/+85