Changeset 140 for branches/samba-3.0/source/lib/time.c
- Timestamp:
- Jul 11, 2008, 1:13:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/lib/time.c
r44 r140 1213 1213 /* d is now in 100ns units, since jan 1st 1601". 1214 1214 Save off the ns fraction. */ 1215 1216 ret.tv_nsec = (long) ((d % 100) * 100); 1215 1216 /* 1217 * Take the last seven decimal digits and multiply by 100. 1218 * to convert from 100ns units to 1ns units. 1219 */ 1220 ret.tv_nsec = (long) ((d % (1000 * 1000 * 10)) * 100); 1217 1221 1218 1222 /* Convert to seconds */
Note:
See TracChangeset
for help on using the changeset viewer.