We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5d941a7 + e256d21 commit 411e958Copy full SHA for 411e958
Documentation/CodingGuidelines
@@ -693,6 +693,12 @@ For C programs:
693
char *dogs[] = ...;
694
walk_all_dogs(dogs);
695
696
+ - For file timestamps, do not use "st_mtim" (and other timestamp
697
+ members in "struct stat") unconditionally; not everybody is POSIX
698
+ (grep for USE_ST_TIMESPEC). If you only need timestamp in whole
699
+ second resolution, "st_mtime" should work fine everywhere.
700
+
701
702
For Perl programs:
703
704
- Most of the C guidelines above apply.
0 commit comments