summaryrefslogtreecommitdiffstats
path: root/winsup/mingw/samples
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in (CRT0S): Add txtmode.o binmode.o.Danny Smith2002-10-192-0/+39
| | | | | | | | | | | | | | (MINGW_OBJS): Add txtmode.o. (SRCDIST_FILES): Add txtmode.c binmode.c. crt1.c: Don't include fcntrl.h, stdlib.h. (_fmode): Declare, without dllimport attribute. (__p__fmode): Declare access function for dll's _fmode. (_mingw32_init_fmode): Sync dll _fmode with staticly linked _fmode for app. * txtmode.c: New file. * binmode.c: New file. * samples/fmode/test2.c: New file. * samples/fmode/jamfile: Add test2.exe target.
* * include/fcntl.h (_fmode): Remove declarations andDanny Smith2002-10-032-2/+6
| | | | | | | | | | | | | | 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/_mingw.h: Increment version to 2.0.Danny Smith2002-06-131-0/+98
| | | | | * Makefile.in: Ditto. Merge in mingwex branch.
* Merging MinGW changesEarnie Boyd2002-05-2846-1877/+1877
|
* import winsup-2000-02-17 snapshotChristopher Faylor2000-02-1752-0/+2013