Date: Sat, 29 Apr 2017 18:48:05 +0000 (UTC) From: "Pedro F. Giffuni" <pfg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r317595 - head/include Message-ID: <201704291848.v3TIm5xK096802@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704291848.v3TIm5xK096802>