Main index | Section 3 | Options |
#include <libelftc.h>
Argument filename names an existing file in the file system.
Argument sb points to structure of type struct stat populated by a prior call to fstat(2) or stat(2).
struct stat sb; const char *existing_filename, *new_filename;if (stat(existing_filename, &sb) < 0) err(EXIT_FAILURE, "stat failed");
if (elftc_set_timestamps(new_filename, &sb) < 0) err(EXIT_FAILURE, "timestamps could not be set");
ELFTC_SET_TIMESTAMPS (3) | December 15, 2011 |
Main index | Section 3 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | I define UNIX as “30 definitions of regular expressions living under one roof.” | ” |
— Donald Knuth |