Changeset aaa3c457 in mainline for uspace/lib/c/generic/libc.c
- Timestamp:
- 2018-11-12T10:36:10Z (5 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a43dfcb
- Parents:
- 3ce781f4 (diff), 6874bd2 (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. - git-author:
- Jakub Jermář <jakub@…> (2018-11-12 10:36:10)
- git-committer:
- GitHub <noreply@…> (2018-11-12 10:36:10)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/libc.c
r3ce781f4 raaa3c457 40 40 #include <tls.h> 41 41 #include <fibril.h> 42 #include <fibril_synch.h> 42 43 #include <task.h> 43 44 #include <loader/pcb.h> 44 45 #include <vfs/vfs.h> 45 46 #include <vfs/inbox.h> 47 #include <io/kio.h> 46 48 #include "private/libc.h" 47 49 #include "private/async.h" … … 61 63 void __libc_main(void *pcb_ptr) 62 64 { 65 __kio_init(); 66 63 67 assert(!__tcb_is_set()); 64 68 … … 81 85 82 86 __fibrils_init(); 87 __fibril_synch_init(); 83 88 84 89 /* Initialize the fibril. */ … … 148 153 } 149 154 155 void __libc_fini(void) 156 { 157 __async_client_fini(); 158 __async_server_fini(); 159 __async_ports_fini(); 160 161 __fibril_synch_fini(); 162 __fibrils_fini(); 163 164 __malloc_fini(); 165 166 __kio_fini(); 167 } 168 150 169 void __libc_exit(int status) 151 170 {
Note:
See TracChangeset
for help on using the changeset viewer.