Changeset 3acff69 in mainline
- Timestamp:
- 2011-06-26T12:17:52Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 244d6fd
- Parents:
- f232189
- Location:
- uspace/lib/posix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/stdlib.c
rf232189 r3acff69 338 338 } 339 339 340 /** 341 * Should read system load statistics. Not supported. Always returns -1. 342 * 343 * @param loadavg 344 * @param nelem 345 * @return 346 */ 347 int bsd_getloadavg(double loadavg[], int nelem) 348 { 349 return -1; 350 } 351 340 352 /** @} 341 353 */ -
uspace/lib/posix/stdlib.h
rf232189 r3acff69 120 120 /* Legacy Declarations */ 121 121 extern char *posix_mktemp(char *tmpl); 122 extern int bsd_getloadavg(double loadavg[], int nelem); 122 123 123 124 #ifndef LIBPOSIX_INTERNAL … … 163 164 164 165 #define mktemp posix_mktemp 166 #define getloadavg bsd_getloadavg 165 167 #endif 166 168
Note:
See TracChangeset
for help on using the changeset viewer.