Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ UPROGS=\
$U/_logstress\
$U/_forphan\
$U/_dorphan\
$U/_hello\

fs.img: mkfs/mkfs README $(UPROGS)
mkfs/mkfs fs.img README $(UPROGS)
Expand Down
13 changes: 13 additions & 0 deletions user/hello.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#include "kernel/types.h"
#include "kernel/stat.h"
#include "user/user.h"

int main()
{
printf("hello world, this is Hendry Lai.\n");
printf("I am in CS 370, Fall 2025, Section 1002.\n\n");

exit(0);


}