Rev 2787 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2787 | Rev 4377 | ||
---|---|---|---|
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 | */ |