summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/include/stdlib.h
Commit message (Collapse)AuthorAgeFilesLines
* * CONTRIBUTORS: New file.Earnie Boyd2004-04-201-19/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * DISCLAIMER: Ditto. * CRT_noglob.c: Reword copyright and disclaimer. Move Contributors section CONTRIBUTORS file. Remove RCS tags. * CRTFmode.c: Ditto. * CRTglob.c: Ditto. * CRTinit.c: Ditto. * crt1.c: Ditto. * crtdll.dev: Ditto. * dllcrt1.c: Ditto. * dllmain.c: Ditto. * gccmain.c: Ditto. * init.c: Ditto. * isascii.c: Ditto. * iscsym.c: Ditto. * iscsymf.c: Ditto. * jamfile: Ditto. * main.c: Ditto. * msvcrt.def.in: Ditto. * strcasecmp.c: Ditto. * toascii.c: Ditto. * wcscmpi.c: Ditto. * include/assert.h: Ditto. * include/conio.h: Ditto. * include/ctype.h: Ditto. * include/direct.h: Ditto. * include/dirent.h: Ditto. * include/dos.h: Ditto. * include/errno.h: Ditto. * include/excpt.h: Ditto. * include/fcntl.h: Ditto. * include/float.h: Ditto. * include/io.h: Ditto. * include/locale.h: Ditto. * include/malloc.h: Ditto. * include/math.h: Ditto. * include/process.h: Ditto. * include/setjmp.h: Ditto. * include/share.h: Ditto. * include/signal.h: Ditto. * include/stdio.h: Ditto. * include/stdlib.h: Ditto. * include/string.h: Ditto. * include/tchar.h: Ditto. * include/time.h: Ditto. * include/wchar.h: Ditto. * include/sys/locking.h: Ditto. * include/sys/param.h: Ditto. * include/sys/stat.h: Ditto. * include/sys/timeb.h: Ditto. * include/sys/types.h: Ditto. * include/sys/utime.h: Ditto. * mingwex/dirent.c: Ditto.
* * include/stdlib.h: Guard non-ISO functions withDanny Smith2003-09-291-4/+7
| | | | !__STRICT_ANSI__, throughout.
* * include/_mingw.h (__CRT_INLINE): Define.Danny Smith2003-09-241-10/+10
| | | | | | | | | | | | * include/ctype.h: Replace 'extern inline' with __CRT_INLINE, throughout * include/inttypes.h: Likewise. * include/math.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise.
* * include/search.h: New file.Danny Smith2003-07-031-1/+2
| | | | | | | * include/stdlib.h: Add comment about qsort, bsearch in search.h. * test_headers.c: Include search.h. * moldname.def.in (lfind, lsearch): Add.
* * include/stdlib.h (_Exit): Move out of __STRICT_ANSI__ block,Danny Smith2003-05-151-7/+8
| | | | but still protect inline definition with __STRICT_ANSI__
* * include/stdlib.h (qsort): Remove const from first parm.Danny Smith2003-03-111-1/+1
| | | | Thanks to: Tien-Ren Chen <trchen@sourceforge.users.net>
* * include/_mingw.h (_CRTIMP): Define for __GNUC__ ifDanny Smith2003-02-101-115/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | __declspec(dllimport) supported. (__cdecl): Define if not already defined. (__stdcall): Likewise. * include/dirent.h: Qualify fuctions with __cdecl. * include/fenv.h: Likewise. * include/inttypes.h: Likewise. * include/assert.h: Qualify fuctions with __cdecl. Qualify CRT dll imports with _CRTIMP. * include/conio.h: Likewise. * include/ctype.h: Likewise. * include/direct.h: Likewise. * include/dos.h: Likewise. * include/errno.h: Likewise. * include/float.h: Likewise. * include/io.h: Likewise. * include/locale.h: Likewise. * include/malloc.h: Likewise. * include/math.h: Likewise. * include/mbctype.h: Likewise. * include/mbstring.h: Likewise. * include/process.h: Likewise. * include/setjmp.h: Likewise. * include/signal.h: Likewise. * include/stdio.h: Likewise. * include/stdlib.h: Likewise. * include/string.h: Likewise. * include/time.h: Likewise. * include/wchar.h: Likewise. * include/wctype.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/timeb.h: Likewise. * include/sys/utime.h: Likewise. * include/ctype.h: Guard ctype inlines with __NO_INLINE__. * include/wctype.h: Guard wctype inlines with __NO_INLINE__. * include/stdio.h (__VALIST): Guard against prior definition.
* * include/stdlib.h: Make words after #endif a comment.Earnie Boyd2003-02-081-1/+1
|
* * include/stdlib.h (_osver, _winver, _winmajor,Danny Smith2003-01-031-4/+11
| | | | | _winminor): Declare as direct imports from dll if __DECLSPEC_SUPPORTED.
* Add strtold and wcstold to libmingwex.aDanny Smith2002-11-261-0/+2
| | | | | | | | | | | | | | | | | * mingwex/strtold.c: New file. * mingwex/wcstold.c: New file. * mingwex/ldtoa.c: New file. * mingwex/math/cephes_emath.h: New file. * mingwex/math/cephes_emath.c: New file. * mingwex/Makefile.in (DISTFILES): Add new files. (MATH_DISTFILES): Ditto. (STDLIB_OBJS): New. Define as strtold.c wcstold.c. (MATH_OBJS): Add cephes_emath.o. (LIB_OBJS): Add $(STDLIB_OBJS). * include/stdlib.h (strtold, wcstold): Add prototypes. * include/wchar.h (wcstold): Add prototype. Add missing ChangeLog entry for 2002-11-09.
* 2002-10-19 Danny Smith <dannysmith@users.sourceforge.net>Danny Smith2002-10-201-2/+2
| | | | | | | | | | | | * crt1.c: Define new macro __IN_MINGW_RUNTIME before including stdlib.h. Comment on reason. Define WIN32_MEAN_AND_LEAN before including windows.h * include/stdlib.h (_fmode): Protect declaration as dllimported variable with __IN_MINGW_RUNTIME. 2002-10-19 Igor Pechtchanski <pechtcha@cs.nyu.edu> * crt1.c: Include stdlib.h.
* * include/fcntl.h (_fmode): Remove declarations andDanny Smith2002-10-031-2/+27
| | | | | | | | | | | | | | compatibility defines. (_setmode, setmode): Remove prototypes. * include/stdlib (_fmode): Add declarations and compatibility defines. Change type to int. * include/io.h (_setmode, setmode): Add prototypes. * samples/fmode/all.c: Adjust includes. * samples/fmode/test.c: Likewise. * crt1.c (_CRT_fmode): Declare as int. * CRTfmode.c (_CRT_fmode): Likewise. * include/stdlib: Remove comment about MB_CUR_MAX.
* * include/stdlib.h (_imp____mbcur_max): add missing ';'.Danny Smith2002-10-021-2/+2
| | | | (_imp____mbcur_max_dll): Likewise.
* 2002-06-18 Casper S. Hornstrup <chorns@users.sourceforge.net>Danny Smith2002-06-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | * include/_mingw.h (__MINGW_IMPORT): Check for prior definition before defining. * include/excpt.h (): Include windef.h not windows.h. * include/fcntl.h (_O_SHORT_LIVED): Add define. (_chmod): Add prototype. (_creat): Correct prototype. (SH_DENY*): Rename defines to _SH_DENY*. (SH_DENY*): Add Non-ANSI names for _SH_DENY*. include/stdio.h (_IOMYBUF, _IOEOF, _IOERR, _IOSTRG, _IOAPPEND): Add defines. (_wfindfirst): Correct prototype. (_wfdopen): Add prototype. * include/stdlib.h (_rotl, _rotr, _lrotl, _lrotr): Add prototypes. * include/string.h (_mbschr, _mbstok, _mbsncat): Remove prototypes. (_wcsdup): Correct prototype. * include/mbstring.h: Remove comments about _mbschr, _mbstok, _mbsncat being in string.h. * include/wchar.h (_wfindfirst): Correct prototype. * include/tchar.h (_tfdopen): Add _UNICODE mappings.
* * include/_mingw.h: Increment version to 2.0.Danny Smith2002-06-131-21/+93
| | | | | * Makefile.in: Ditto. Merge in mingwex branch.
* Merge MinGW changesEarnie Boyd2002-01-251-0/+4
|
* Merge MinGW CVS differencesEarnie Boyd2001-12-051-1/+1
|
* 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net>Earnie Boyd2001-11-011-3/+3
| | | | | | | | | | | | | | | | | | * include/io.h (_commit): Add declaration. Thanks to: "stefan" <stefan@lkcc.org> 2001-10-30 Danny Smith <dannysmith@users.sourceforge.net> * include/sys/stat.h: Make S_IS* macros safer. 2001-10-27 Danny Smith <dannysmith@users.sourceforge.net> * include/stdlib.h (EXIT_FAILURE): Change value to 1. 2001-10-12 Danny Smith <dannysmith@users.sourceforge.net> * include/stdlib.h (__p__environ, __p__wenviron): Use __STDC__ prototypes.
* * include/stdlib.h (_wpgmptr): Don't declare ifndef __MSVCRT__.Earnie Boyd2001-08-051-4/+1
| | | | | | | | | | * include/stdio.h (_IORW): Change constant to 0x0080. (TMP_MAX): Add new define. (_P_tmpdir): Ditto. (_wP_tmpdir): Ditto. (L_tmpnam): Change constant to 16. * include/malloc.h: Fix non-ANSI comment after #endif. * profile/Makefile.in (mkinstalldirs): Correct relative path.
* *include/stdlib.h (__p__pgmptr): add prototype.Earnie Boyd2001-01-281-0/+21
| | | | | | | | | | | | (__p__wpgmptr): likewise. (_pgmptr_dll): move declaration from dos.h. (_wpgmptr_dll): likewise. (_pgmptr): conditional define (MSVCT/CRTDLL). (_wpgmptr): likewise. *include/dos.h (_base*_dll variables): declare only for CRTDLL. (_os*_dll variables): likewise. (_pgmptr_dll): remove declaration and associated defines to stdlib.h. (_wpgmptr_dll): likewise.
* * include/stdlib.h: Apply Danny Smith patch 102730Earnie Boyd2001-01-161-2/+2
| | | | | 2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz> (_wgetenv) Correction to return type.
* * include/direct.h: add guard around MSVCRT-only prototytpesEarnie Boyd2000-11-211-7/+20
| | | | | | | | | | | | | | | | * include/io.h: add __int64 struct definitions and function prototypes; add guard for MSVCRT-only prototypes * include/limits.h: add ISO C9x macros LLONG_MIN, LLONG_MAX, ULLONG_MAX * include/stdio.h: add wchar function prototypes (__MSVCRT__); put wchar functions together to make sync with wchar.h easier * include/stdlib.h: add wide char functions (__MSVCRT__) * include/string.h: add string collation functions ( __MSVCRT__) * include/sys/stat.h: add __int64 struct and function ( __MSVCRT__) * include/tchar.h: add macros and macro function definitions * include/wchar.h: add wide char function prototypes ( __MSVCRT__ ); enclose more functions in __MSVCRT__ guard; some oldname wide char function prototypes #if (0)'d * profile/gmon.h: add guard around BSD-ish typedefs
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+386