Changeset 8219eb9 in mainline for uspace/lib/posix/time.c
- Timestamp:
- 2012-04-23T22:14:32Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f6cb995
- Parents:
- 5b3394c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/time.c
r5b3394c r8219eb9 383 383 * 384 384 * @param timeptr Broken-down time structure. 385 * @return Pointer to a statically allocated string.386 */387 char *posix_asctime(const struct tm *timeptr)388 {389 static char buf[ASCTIME_BUF_LEN];390 return posix_asctime_r(timeptr, buf);391 }392 393 /**394 * Converts broken-down time to a string in format395 * "Sun Jan 1 00:00:00 1970\n". (Obsolete)396 *397 * @param timeptr Broken-down time structure.398 385 * @param buf Buffer to store string to, must be at least ASCTIME_BUF_LEN 399 386 * bytes long. … … 436 423 return NULL; 437 424 } 438 return posix_asctime(loctime);425 return asctime(loctime); 439 426 } 440 427
Note:
See TracChangeset
for help on using the changeset viewer.