Deleted Added
full compact
stdio.h (8858) stdio.h (13771)
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Chris Torek.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 148 unchanged lines hidden (view full) ---

157#define __SWR 0x0008 /* OK to write */
158 /* RD and WR are never simultaneously asserted */
159#define __SRW 0x0010 /* open for reading & writing */
160#define __SEOF 0x0020 /* found EOF */
161#define __SERR 0x0040 /* found error */
162#define __SMBF 0x0080 /* _buf is from malloc */
163#define __SAPP 0x0100 /* fdopen()ed in append mode */
164#define __SSTR 0x0200 /* this is an sprintf/snprintf string */
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Chris Torek.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 148 unchanged lines hidden (view full) ---

157#define __SWR 0x0008 /* OK to write */
158 /* RD and WR are never simultaneously asserted */
159#define __SRW 0x0010 /* open for reading & writing */
160#define __SEOF 0x0020 /* found EOF */
161#define __SERR 0x0040 /* found error */
162#define __SMBF 0x0080 /* _buf is from malloc */
163#define __SAPP 0x0100 /* fdopen()ed in append mode */
164#define __SSTR 0x0200 /* this is an sprintf/snprintf string */
165#define __SOPT 0x0400 /* do fseek() optimisation */
166#define __SNPT 0x0800 /* do not do fseek() optimisation */
165#define __SOPT 0x0400 /* do fseek() optimization */
166#define __SNPT 0x0800 /* do not do fseek() optimization */
167#define __SOFF 0x1000 /* set iff _offset is in fact correct */
168#define __SMOD 0x2000 /* true => fgetln modified _p text */
169
170/*
171 * The following three definitions are for ANSI C, which took them
172 * from System V, which brilliantly took internal interface macros and
173 * made them official arguments to setvbuf(), without renaming them.
174 * Hence, these ugly _IOxxx names are *supposed* to appear in user code.

--- 204 unchanged lines hidden ---
167#define __SOFF 0x1000 /* set iff _offset is in fact correct */
168#define __SMOD 0x2000 /* true => fgetln modified _p text */
169
170/*
171 * The following three definitions are for ANSI C, which took them
172 * from System V, which brilliantly took internal interface macros and
173 * made them official arguments to setvbuf(), without renaming them.
174 * Hence, these ugly _IOxxx names are *supposed* to appear in user code.

--- 204 unchanged lines hidden ---