Changeset 04803bf in mainline for uspace/lib/c/generic/private/libc.h
- Timestamp:
- 2011-03-21T22:00:17Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 143932e3
- Parents:
- b50b5af2 (diff), 7308e84 (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 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/private/libc.h
rb50b5af2 r04803bf 1 1 /* 2 * Copyright (c) 20 06 Jakub Jermar2 * Copyright (c) 2011 Martin Decky 3 3 * All rights reserved. 4 4 * … … 31 31 */ 32 32 /** @file 33 */ 33 */ 34 34 35 #include <libc.h> 36 #include <sysinfo.h> 37 #include <string.h> 35 #ifndef LIBC_PRIVATE_LIBC_H_ 36 #define LIBC_PRIVATE_LIBC_H_ 38 37 39 sysarg_t sysinfo_value(char *name) 40 { 41 return __SYSCALL2(SYS_SYSINFO_VALUE, (sysarg_t ) name, 42 (sysarg_t) str_size(name)); 43 } 38 extern void __entry(void); 39 extern void __main(void *) __attribute__((noreturn)); 40 extern int main(int, char *[]); 41 42 #endif 44 43 45 44 /** @}
Note:
See TracChangeset
for help on using the changeset viewer.