Rev 2479 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2479 | Rev 4256 | ||
---|---|---|---|
Line 36... | Line 36... | ||
36 | #include <sysinfo.h> |
36 | #include <sysinfo.h> |
37 | #include <string.h> |
37 | #include <string.h> |
38 | 38 | ||
39 | sysarg_t sysinfo_value(char *name) |
39 | sysarg_t sysinfo_value(char *name) |
40 | { |
40 | { |
41 | return __SYSCALL2(SYS_SYSINFO_VALUE, (sysarg_t ) name, (sysarg_t) strlen(name)); |
41 | return __SYSCALL2(SYS_SYSINFO_VALUE, (sysarg_t ) name, |
- | 42 | (sysarg_t) str_size(name)); |
|
42 | } |
43 | } |
43 | 44 | ||
44 | /** @} |
45 | /** @} |
45 | */ |
46 | */ |