CVSROOT: /cvs Module name: src Changes by: guent...@cvs.openbsd.org 2024/08/12 14:53:09
Modified files: lib/libc/stdio : fclose.3 fclose.c fflush.3 fflush.c freopen.c fseek.c ftell.c lib/libc/stdlib: exit.3 Log message: Make exit(), fclose(), fflush(), and freopen() comply with POSIX-2008 requirements for setting the underlying file position when flushing read-mode streams, and make an fseek()-after-fflush() not change the underlying file position. Much testing, review, and assistance from tb@ ok tb@ millert@