Changeset 1087 in MondoRescue for branches/stable/mondo/src/lib/mr_str.c
- Timestamp:
- Feb 2, 2007, 11:31:00 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/stable/mondo/src/lib/mr_str.c
r1054 r1087 8 8 #include <stdio.h> 9 9 #include <string.h> 10 #include <time.h> 10 11 11 12 #include "mr_mem.h" … … 105 106 return retstr; 106 107 } 108 109 /* Return a string containing the date */ 110 char *mr_date(void) { 111 112 time_t tcurr; 113 114 tcurr = time(NULL); 115 return(ctime(&tcurr)); 116 } 117
Note:
See TracChangeset
for help on using the changeset viewer.