The example doesn't follow the guidelines given in the description and will
result in the following warning if compiled :

  In function 'main':
  13: warning: implicit declaration of function 'strptime'

Carlo
---
diff -urp man-pages-2.74/man3/strptime.3 man-pages-2.74/man3/strptime.3
--- man-pages-2.74/man3/strptime.3      2007-12-20 04:13:45.000000000 -0800
+++ man-pages-2.74/man3/strptime.3      2008-01-05 18:46:04.000000000 -0800
@@ -384,6 +384,7 @@ and
 .BR strftime (3).
 .sp
 .nf
+#define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>
-
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to