Changeset 368ee04 in mainline for uspace/lib/c/generic/libc.c
- Timestamp:
- 2017-04-05T18:10:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 93ad8166
- Parents:
- 39f892a9 (diff), 2166728 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/libc.c
r39f892a9 r368ee04 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.