| 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.
| “ | Modern Unix impedes progress in computer science, wastes billions of dollars, and destroys the common sense of many who seriously use it. | ” |
| — The Unix Haters' handbook | ||