Changeset 4be51c8 in mainline for generic/src/syscall/syscall.c
- Timestamp:
- 2006-01-15T17:38:16Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fd537a0
- Parents:
- 204674e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/src/syscall/syscall.c
r204674e r4be51c8 28 28 29 29 #include <syscall/syscall.h> 30 #include <proc/thread.h> 30 31 #include <print.h> 31 32 #include <putchar.h> 32 33 33 34 int sys_ctl(void) { 34 printf("SYS_CTL\n"); 35 printf("Thread finished\n"); 36 thread_exit(); 37 /* Unreachable */ 35 38 return 0; 36 39 } … … 45 48 putchar(((char *) buf)[i]); 46 49 47 return 0;50 return count; 48 51 } 49 52
Note:
See TracChangeset
for help on using the changeset viewer.