1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-19 18:26:32 +02:00

(EOVERFLOW, fseeko): New macros.

This commit is contained in:
Jim Meyering
2002-01-22 10:46:05 +00:00
parent 437d89a151
commit ef95b3233e

View File

@@ -553,3 +553,13 @@ enum
} \
while (0)
#endif
#ifndef EOVERFLOW
# define EOVERFLOW EINVAL
#endif
#if ! HAVE_FSEEKO && ! defined fseeko
# define fseeko(s, o, w) ((o) == (long) (o) \
? fseek ((s), (o), (w)) \
: (errno = EOVERFLOW, -1))
#endif