Changes in uspace/lib/c/generic/libc.c [153c7a29:d96d9bc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/libc.c
r153c7a29 rd96d9bc 48 48 #include <task.h> 49 49 #include <loader/pcb.h> 50 #include <vfs/vfs.h> 51 #include <vfs/inbox.h> 50 52 #include "private/libc.h" 51 53 #include "private/async.h" … … 107 109 argc = 0; 108 110 argv = NULL; 109 __stdio_init( 0);111 __stdio_init(); 110 112 } else { 111 113 argc = __pcb->argc; 112 114 argv = __pcb->argv; 113 __stdio_init(__pcb->filc); 114 (void) chdir(__pcb->cwd); 115 __inbox_init(__pcb->inbox, __pcb->inbox_entries); 116 __stdio_init(); 117 vfs_root_set(inbox_get("root")); 118 (void) vfs_cwd_set(__pcb->cwd); 115 119 } 116 120
Note:
See TracChangeset
for help on using the changeset viewer.