svn commit: r317595 - head/include

Pedro F. Giffuni pfg at FreeBSD.org
Sat Apr 29 18:48:06 UTC 2017


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


More information about the svn-src-head mailing list