![]() ![]() usr/bin/perl my atime my mtime time utime atime, mtime, ARGV. ![]() Most things still running 2.4 (or earlier) out in the wild are appliances of some kind or other embedded systems. Creates a digest string exactly like the crypt(3) function in the C library. For modern kernels, sysinfo () should work just fine. If btime isn't there, and struct sysinfo has no member named uptime, you have to parse /proc/uptime. It contains the following members: timet actime. This saves having to deal with strings in /proc/uptime. Top level - src/unix - utime.c (source / functions) The utimbuf structure is used with the utime function to specify new access and modification times for a file. If newtimes is a NULL pointer, the access and modification times are set to the current time. LCOV - allegro_ - src/unix/utime.c LCOV - code coverage report C Date and time utilities 1) Modifies the timespec object pointed to by ts to hold the current calendar time in the time base base. Function utime () sets the access and modification times of pathname to the values in the utimbuf structure. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |