diff options
author | Peter Wemm <peter@FreeBSD.org> | 1998-07-08 00:52:40 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1998-07-08 00:52:40 +0000 |
commit | b5fe8fabdac7fbabbd2993abfa16e14570173a8c (patch) | |
tree | d0f9dc6287693cf51b0303f2cc9bc18eced2ec36 /include/stdio.h | |
parent | 07b64a25d22c44bdd74e3fdb3376a0d785fdb340 (diff) | |
download | src-b5fe8fabdac7fbabbd2993abfa16e14570173a8c.tar.gz src-b5fe8fabdac7fbabbd2993abfa16e14570173a8c.zip |
New flag for internal stdio use to enable dynamic string allocation for
asprintf() implementation.
Obtained from: Todd Miller <Todd.Miller@courtesan.com> via OpenBSD
Notes
Notes:
svn path=/head/; revision=37489
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index f183ab0a6e14..15cb80818089 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)stdio.h 8.5 (Berkeley) 4/29/95 - * $Id: stdio.h,v 1.17 1998/05/05 21:59:19 jb Exp $ + * $Id: stdio.h,v 1.18 1998/06/14 16:04:20 bde Exp $ */ #ifndef _STDIO_H_ @@ -146,6 +146,7 @@ __END_DECLS #define __SNPT 0x0800 /* do not do fseek() optimization */ #define __SOFF 0x1000 /* set iff _offset is in fact correct */ #define __SMOD 0x2000 /* true => fgetln modified _p text */ +#define __SALC 0x4000 /* allocate string space dynamically */ /* * The following three definitions are for ANSI C, which took them |