Changeset 2918 for trunk/libc/include/klibc/backend.h
- Timestamp:
- Dec 29, 2006, 1:43:05 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/include/klibc/backend.h
r2917 r2918 144 144 * 145 145 * @returns 0 on success. 146 * @returns -EINVAL if the pReqTS is invalid.147 146 * @returns -EINTR if the interrupted by signal. 148 147 * 149 148 * @param u64NanoReq Time to sleep, in nano seconds. 150 149 * @param pu64NanoRem Where to store remaining time (also nano seconds). 151 150 * 152 151 * @remark For relativly small sleeps this api temporarily changes the thread 153 152 * priority to timecritical (that is, if it's in the normal or idle priority … … 635 634 */ 636 635 int __libc_Back_ldrOpen(const char *pszLibrary, int fFlags, void **ppvModule, char *pszError, size_t cchError); 636 637 /** 638 * Get the name of the executable. 639 * 640 * @returns 0 on success. 641 * @returns Negated error code (errno.h) on failure. 642 * @param pszNameBuf Where to store the name. 643 * @param cchNameBuf The size of the buffer. 644 */ 645 int __libc_Back_ldrExeName(char *pszNameBuf, size_t cchNameBuf); 637 646 638 647 /** … … 1137 1146 */ 1138 1147 int __libc_Back_processSetPriority(int iWhich, id_t idWho, int iPrio); 1148 1149 /** 1150 * Get the resource usage of the process or the child processes. 1151 * 1152 * @returns 0 on success. 1153 * @returns Neagted error code (errno.h) on failure. 1154 * @param iWho Who to get the resource usage of, RUSAGE_SELF or RUSAGE_CHILDREN. 1155 * @param pUsage Where to store the resource usage. 1156 */ 1157 int __libc_Back_processGetResourceUsage(int iWho, struct rusage *pUsage); 1139 1158 1140 1159 /**
Note:
See TracChangeset
for help on using the changeset viewer.