diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-04-29 18:48:05 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2017-04-29 18:48:05 +0000 |
commit | 0558617b426781380dc47081c56880cb83ddf250 (patch) | |
tree | 483b16de4eb14b7f305f09bb93f6ebe85770b215 /include | |
parent | 9c3595112f5b68b7cf4a9ee0b667c1210ad2b602 (diff) | |
download | src-0558617b426781380dc47081c56880cb83ddf250.tar.gz src-0558617b426781380dc47081c56880cb83ddf250.zip |
<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)
Notes
Notes:
svn path=/head/; revision=317595
Diffstat (limited to 'include')
-rw-r--r-- | include/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index 99773885f1f5..73e92a5462c7 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -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 |