Author: pfg
Date: Sat Apr 29 18:48:05 2017
New Revision: 317595
URL: https://svnweb.freebsd.org/changeset/base/317595

Log:
  <stdio.h>: ftello() and fseeko() were in SUSv2, so extend visibility.
  
  See:
  
  http://pubs.opengroup.org/onlinepubs/007908799/xsh/fseek.html
  http://pubs.opengroup.org/onlinepubs/007908799/xsh/ftell.html
  
  Hinted from:  DragonFlyBSD (git 58696e28)

Modified:
  head/include/stdio.h

Modified: head/include/stdio.h
==============================================================================
--- head/include/stdio.h        Sat Apr 29 16:44:36 2017        (r317594)
+++ head/include/stdio.h        Sat Apr 29 18:48:05 2017        (r317595)
@@ -338,7 +338,7 @@ int  ferror_unlocked(FILE *);
 int     fileno_unlocked(FILE *);
 #endif
 
-#if __POSIX_VISIBLE >= 200112
+#if __POSIX_VISIBLE >= 200112 || __XSI_VISIBLE >= 500
 int     fseeko(FILE *, __off_t, int);
 __off_t         ftello(FILE *);
 #endif
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to