diff options
author | phk <phk@FreeBSD.org> | 2000-11-26 10:30:18 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-11-26 10:30:18 +0000 |
commit | 5df764b518df4f804033c7b2c5dfce60394e2f41 (patch) | |
tree | e64b0185386259e66331cd466061fb808cf16385 /include/stdlib.h | |
parent | 8eae02ff46f279cae89cefa462804e766d29177a (diff) | |
download | FreeBSD-src-5df764b518df4f804033c7b2c5dfce60394e2f41.zip FreeBSD-src-5df764b518df4f804033c7b2c5dfce60394e2f41.tar.gz |
Make it possible to override the function which writes messages to
stderr in case of warnings and errors.
Rename malloc_options to have a leading underscore, I belive I have been
told that is more correct namespace wise.
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 39b36bc..96724bc 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -115,6 +115,9 @@ int mbtowc __P((wchar_t *, const char *, size_t)); size_t wcstombs __P((char *, const wchar_t *, size_t)); #if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE) +extern char *_malloc_options; +extern void (*_malloc_message)__P((char *p1, char *p2, char *p3, char *p4)); + int putenv __P((const char *)); int setenv __P((const char *, const char *, int)); |