Porting to OS/2: Case #26 getrusage()
getrusage() provides measure of resource used by the current process or its child processes. See for details.
OS/2 kLIBC has a declaration of getrusage(), but not implemented it actually. Instead, OS/2 kLIBC provides a minimal information for getrusage(). Here is the implementation using it.
OS/2 kLIBC has a declaration of getrusage(), but not implemented it actually. Instead, OS/2 kLIBC provides a minimal information for getrusage(). Here is the implementation using it.
- source: https://github.com/komh/os2compat/blob/master/process/getrusage.c
- test: https://github.com/komh/os2compat/blob/master/testcase/getrusage-1.c
댓글
댓글 쓰기