* PROGRAMMER: Eric Kohl (Imported from DJGPP)
*/
-#include <stdio.h>
-#include <stdarg.h>
+#include "precomp.h"
+
#include <conio.h>
/*
#include "precomp.h"
#include <conio.h>
-#include <string.h>
-#include <stdio.h>
-#include <internal/file.h>
-
/*
* @implemented
#include "precomp.h"
#include <conio.h>
-#include <stdio.h>
-#include <io.h>
#include <internal/console.h>
* 28/12/98: Created
*/
-#include <stdio.h>
+#include "precomp.h"
+
#include <conio.h>
#include <internal/console.h>
#include "precomp.h"
#include <ctype.h>
#include <direct.h>
-#include <internal/file.h>
#include <tchar.h>
/*
#include <direct.h>
#include <stdlib.h>
#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
#include <direct.h>
#include <stdlib.h>
#include <errno.h>
-#include <internal/file.h>
#include <tchar.h>
/*
#include "precomp.h"
#include <direct.h>
-#include <internal/file.h>
#include <internal/debug.h>
#include <tchar.h>
#include <errno.h>
#include "precomp.h"
#include <direct.h>
-#include <internal/file.h>
#include <tchar.h>
/*
#include "precomp.h"
#include <direct.h>
-#include <internal/file.h>
#include <tchar.h>
/*
#include "precomp.h"
-#include <stdio.h>
-
#ifdef __GNUC__
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include "precomp.h"
+
#include <float.h>
double _logb (double __x)
#include <stdarg.h>
#include <time.h>
-
#include <windef.h>
#include <winbase.h>
-#include <winnt.h>
#ifndef _IORMONCL
#define _IORMONCL 004000 /* remove on close, for temp files */
#endif /* __dj_include_libc_file_h__ */
+
#include "precomp.h"
-#include <io.h>
#include <errno.h>
#include <tchar.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
#include "precomp.h"
-#include <io.h>
#include <sys/stat.h>
#include <tchar.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
-#include <io.h>
+#include "precomp.h"
#define NDEBUG
#include <internal/debug.h>
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
#include "precomp.h"
-#include <io.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
-#include <io.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+
+#include "precomp.h"
#include <fcntl.h>
#define NDEBUG
#include "precomp.h"
-#include <io.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
/*
* @implemented
-#include <stdio.h>
-#include <io.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+
+#include "precomp.h"
/*
* @implemented
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
-
/*
* @implemented
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
-
/*
* @implemented
#include "precomp.h"
-#include <io.h>
-#include <string.h>
#include <tchar.h>
-#include <internal/file.h>
-
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <fcntl.h>
-#include <io.h>
+#include "precomp.h"
+#include <fcntl.h>
int _fmode = O_TEXT;
#include "precomp.h"
-#include <internal/file.h>
-
#define NDEBUG
#include <internal/debug.h>
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
-
/*
* @implemented
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
-
/*
* @implemented
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
-
//#define SETFILEPOINTEREX_AVAILABLE
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <stdio.h>
-#include <string.h>
-#include <io.h>
+#include "precomp.h"
#define NDEBUG
#include <internal/debug.h>
-
/*
* @implemented
*/
#include <stdarg.h>
#endif
-#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
-#include <stdlib.h>
#include <string.h>
#include <share.h>
-#include <errno.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
*/
#include "precomp.h"
-#include <io.h>
-#include <errno.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
* behavior for line-buffered streams (KJK::Hyperion)
*/
-#include <windows.h>
-#include <io.h>
-#include <internal/file.h>
+#include "precomp.h"
#define NDEBUG
#include <internal/debug.h>
*/
#include "precomp.h"
-#include <io.h>
-#include <stdio.h>
-#include <internal/file.h>
-
#define NDEBUG
#include <internal/debug.h>
-#include <io.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <errno.h>
-#include <io.h>
-#include <stdio.h>
+#include "precomp.h"
+
#include <sys/types.h>
/*
-#include <errno.h>
-#include <io.h>
-#include <stdio.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+#include "precomp.h"
/*
* @implemented
*/
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
-#include "precomp.h"
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
-#include <stdio.h>
-#include <io.h>
-#include <errno.h>
+#include "precomp.h"
#include <sys/utime.h>
-#include <internal/file.h>
-
/*
* @implemented
-#include <io.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+
+#include "precomp.h"
#include <fcntl.h>
#define NDEBUG
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <stdio.h>
-#include <string.h>
-#include <io.h>
+#include "precomp.h"
#define NDEBUG
#include <internal/debug.h>
#if !defined(NDEBUG) && defined(DBG)
#include <stdarg.h>
#endif
-#include <io.h>
#include <fcntl.h>
#include <sys/stat.h>
-#include <stdlib.h>
-#include <string.h>
#include <share.h>
-#include <errno.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
*/
#include "precomp.h"
-#include <io.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
*/
#include "precomp.h"
-#include <io.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+
#include "precomp.h"
-#include <stdio.h>
-#include <io.h>
-#include <errno.h>
#include <sys/utime.h>
-#include <internal/file.h>
/*
* @implemented
*/
#include "precomp.h"
-#include <stdio.h>
#include <locale.h>
-#include <string.h>
#include <limits.h>
#include <internal/tls.h>
-#include <stdlib.h>
#define NDEBUG
#include <internal/debug.h>
* inflicting too much of a performance hit.
*
*/
+#include "precomp.h"
#include <float.h>
#include <math.h>
* 12/04/99: Created
*/
-#include <stdio.h>
+#include "precomp.h"
+
#include <mbstring.h>
#include <mbctype.h>
-#include <stdio.h>
+#include "precomp.h"
#include <mbstring.h>
/*
* 28/12/98: Created
*/
-#include <stdlib.h>
-#include <stdio.h>
-
+#include "precomp.h"
static char *__rt_err_msg[] =
{
#include <internal/tls.h>
#include <stdlib.h>
#include <string.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
-#define CRT_SECURE_NO_DEPRECATE
+#define _CRT_SECURE_NO_DEPRECATE
#define _INC_WTIME_INL
#define _INC_UTIME_INL
#define _INC_TIME_INL
+#include <stdio.h>
+#include <errno.h>
+#include <malloc.h>
+#include <math.h>
+
#define WIN32_NO_STATUS
#include <windows.h>
#define NTOS_MODE_USER
#if !defined(_MSC_VER)
#include <stdint.h>
#endif
+
+/* This file is a hack and should for the most part go away */
+#include <internal/file.h>
*/
#include "precomp.h"
-#include <process.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
#include <string.h>
#include <process.h>
#include <errno.h>
-#include <internal/file.h>
/*
* @implemented
#include "precomp.h"
#include <process.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <internal/file.h>
#include <tchar.h>
#define NDEBUG
#include "precomp.h"
-#include <errno.h>
-#include <process.h>
-#include <internal/file.h>
#if 0
/*
#include "precomp.h"
-#include <errno.h>
-#include <process.h>
-#include <internal/file.h>
-
/*
* @unimplemented
#include <stdlib.h>
#include <errno.h>
#include <string.h>
-#include <internal/file.h>
void _default_handler(int signal);
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <internal/file.h>
-
-
char __validfp (FILE *f)
{
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <errno.h>
-#include <internal/file.h>
-
#ifdef clearerr
#undef clearerr
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <stdarg.h>
-#include <io.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <stdlib.h>
-#include <errno.h>
-#include <internal/file.h>
// changed check for writable stream
#include "precomp.h"
-#include <stdio.h>
#include <tchar.h>
-#include <internal/file.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <errno.h>
-#include <internal/file.h>
#ifdef feof
#undef feof
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <internal/file.h>
#ifdef ferror
#undef ferror
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <stdarg.h>
-#include <errno.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <stdlib.h>
-#include <io.h>
-#include <internal/file.h>
-
/*
* @implemented
*/
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <internal/file.h>
/*
* @implemented
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdio.h>
+#include "precomp.h"
#include <conio.h>
int _fgetchar(void)
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdio.h>
-#include <errno.h>
+#include "precomp.h"
/*
* @implemented
*/
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <internal/file.h>
-
char* fgets(char* s, int n, FILE* f)
{
*/
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <internal/file.h>
-
//#include <msvcrt/ctype.h>
#ifndef WEOF
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
#include <sys/types.h>
-#include <stdlib.h>
-#include <string.h>
-#include <io.h>
#include <wchar.h>
-#include <errno.h>
-#include <internal/file.h>
int _readcnv(int fn, void* buf, size_t siz);
-#include <stdio.h>
-#include <io.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+
+#include "precomp.h"
#undef _fileno
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
#include <wchar.h>
#include <sys/types.h>
-#include <stdlib.h>
-#include <io.h>
-#include <errno.h>
-#include <internal/file.h>
int cntcr(char* bufp, int bufsiz);
int convert(char* endp, int bufsiz, int n);
#include "precomp.h"
#include <sys/types.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <io.h>
#include <fcntl.h>
#include <tchar.h>
-#include <internal/file.h>
//might change fopen(file,mode) -> fsopen(file,mode,_SH_DENYNO);
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
#include <wchar.h>
#include <tchar.h>
-#include <internal/file.h>
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
#include <wchar.h>
-#include <internal/file.h>
/*
* @implemented
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <stdio.h>
+#include "precomp.h"
int _fputchar(int c)
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <internal/file.h>
-#include <string.h>
#include <tchar.h>
int
#include "precomp.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <internal/file.h>
-
-
/*
* @implemented
*/
#include "precomp.h"
#include <sys/types.h>
-#include <stdio.h>
-#include <stdlib.h>
#include <fcntl.h>
-#include <io.h>
#include <tchar.h>
-#include <internal/file.h>
-
/*
* @implemented
#include "precomp.h"
-#include <stdio.h>
-#include <errno.h>
#include <fcntl.h>
-#include <io.h>
-#include <internal/file.h>
-
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
*/
#include <sys/types.h>
#include <sys/stat.h>
-#include <stdio.h>
#include <stdlib.h>
-#include <io.h>
#include <fcntl.h>
#include <share.h>
#include <tchar.h>
-#include <internal/file.h>
-
-
/*
#include "precomp.h"
-#include <stdio.h>
#include <fcntl.h>
-#include <io.h>
#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <internal/file.h>
-
-
// not exported by msvcrt or crtdll
__file_rec *__file_rec_list;
#include "precomp.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
-#include <internal/file.h>
-
#define NDEBUG
#include <internal/debug.h>
*/
#include "precomp.h"
-#include <stdio.h>
-#include <wchar.h>
-#include <errno.h>
-#include <internal/file.h>
//getc can be a macro
#undef getc
*/
#include "precomp.h"
-#include <stdio.h>
-#include <internal/file.h>
-
#undef getchar
#undef getwchar
*/
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdio.h>
+#include "precomp.h"
char* gets(char* s)
{
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#include <stdio.h>
-
+#include "precomp.h"
/*
* Read a word (int) from STREAM.
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdio.h>
-#include <string.h>
+#include "precomp.h"
+
#include <errno.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+
#include "precomp.h"
-#include <io.h>
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
#include <tchar.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include <stdarg.h>
-#include <stdio.h>
+#include "precomp.h"
+
#include <wchar.h>
#include <tchar.h>
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <wchar.h>
-#include <errno.h>
-#include <internal/file.h>
// putc can be a macro
#undef putc
*/
#include "precomp.h"
-#include <stdio.h>
#include <tchar.h>
-#include <internal/file.h>
#undef putc
#undef putchar
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <io.h>
-#include <string.h>
#undef putchar
#undef putwchar
* not, write to the Free Software Foundation, Inc., 675 Mass Ave,
* Cambridge, MA 02139, USA. */
-
-#include <stdio.h>
-
+#include "precomp.h"
/*
* Write the word (int) W to STREAM.
#include "precomp.h"
-#include <stddef.h>
-#include <stdio.h>
#include <tchar.h>
#define NDEBUG
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Created
+ */
+
#include "precomp.h"
-#include <stdio.h>
-#include <io.h>
#include <tchar.h>
/*
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <io.h>
-#include <internal/file.h>
-
-
/*
* @implemented
*/
*/
#include "precomp.h"
-#include <stdio.h>
-#include <string.h>
-#include <internal/file.h>
-
-
// should be replace by a closure of the tmp files
extern __file_rec *__file_rec_list;
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <internal/file.h>
-
/*
* @implemented
*/
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <io.h>
-#include <errno.h>
-#include <internal/file.h>
-
-
/*
* @implemented
*/
#include "precomp.h"
-#include <stdarg.h>
-#include <stdio.h>
#include <wchar.h>
#include <limits.h>
-#include <internal/file.h>
#include <tchar.h>
#undef sprintf
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <internal/file.h>
-
FILE _iob[20] =
{
// stdin
#define UNICODE
#define _UNICODE
-#include <stdarg.h>
-#include <stdio.h>
+#include "precomp.h"
#include <wchar.h>
#include <limits.h>
-#include <internal/file.h>
#include <tchar.h>
#undef sprintf
#include "precomp.h"
-#include <stdio.h>
-#include <stdlib.h>
#include <tchar.h>
/*
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
-#include <errno.h>
#include <fcntl.h>
-//#include <msvcrt/unistd.h>
-#include <io.h>
#include <share.h>
-#include <internal/file.h>
-
FILE * __alloc_file(void);
#include "precomp.h"
-#include <stdio.h>
-#include <string.h>
#include <tchar.h>
/*
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
#include <wchar.h>
-#include <errno.h>
-#include <internal/file.h>
#include <tchar.h>
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdarg.h>
-#include <stdio.h>
-#include <malloc.h>
-#include <internal/file.h>
-#include <ntdef.h>
-
extern int __mb_cur_max;
int __vfprintf(FILE*, const char*, va_list);
#include <ctype.h>
#include <string.h>
-#include <stdio.h>
#include <math.h>
#include <internal/ieee.h>
#include "precomp.h"
-#include <stdarg.h>
-#include <stdio.h>
-#include <malloc.h>
-#include <internal/file.h>
-
-#include <winnt.h>
-
int _isnanl(double x);
int _isinfl(double x);
int _isnan(double x);
* Appropiated for the reactos kernel, March 1998 -- David Welch
*/
-#include <stdarg.h>
-
#include <ctype.h>
-#include <string.h>
-#include <stdio.h>
#include <math.h>
#include <internal/ieee.h>
-
#define ZEROPAD 1 /* pad with zero */
#define SIGN 2 /* unsigned/signed long */
#define PLUS 4 /* show plus */
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#include <stdarg.h>
+#include "precomp.h"
#undef __OPTIMIZE__ /* Avoid inline `vprintf' function. */
-#include <stdio.h>
#include <wchar.h>
#include <tchar.h>
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdio.h>
-#include <stdarg.h>
#include <limits.h>
-#include <internal/file.h>
#include <tchar.h>
/*
#include "precomp.h"
-#include <stdlib.h>
-#include <io.h>
-#include <fcntl.h>
#include <internal/atexit.h>
struct __atexit *__atexit_ptr = 0;
-#include <stdlib.h>
-#include <stdio.h>
-#include <io.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
#include <signal.h>
char *msg ="Abort\n\r";
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
-#include <tchar.h>
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include "precomp.h"
/*
* @implemented
*
*/
#include "precomp.h"
-#include <errno.h>
#include <internal/tls.h>
-#include <internal/file.h>
#include "doserrmap.h"
*/
#include "precomp.h"
-#include <stdlib.h>
#include <tchar.h>
-
/*
* @implemented
*/
/* Copyright (C) 1998 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
+#include "precomp.h"
/*
* @implemented
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
#include "precomp.h"
-#include <stdlib.h>
#define NDEBUG
#include <internal/debug.h>
*/
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <errno.h>
-#include <stdlib.h>
-#include <internal/file.h>
-
+#include "precomp.h"
/*
* @implemented
*/
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <errno.h>
-#include <stdlib.h>
-#include <internal/file.h>
-
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
+#include "precomp.h"
/*
* @implemented
#include "precomp.h"
-#include <stdlib.h>
-#include <stdio.h>
-#include <string.h>
#if 1
/*
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
#include "precomp.h"
-#include <stdlib.h>
-#include <string.h>
#define NDEBUG
#include <internal/debug.h>
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <stdlib.h>
#include <internal/tls.h>
/*
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
#include "precomp.h"
#include <stdlib.h>
#include <string.h>
/* Copyright (C) 1996 DJ Delorie, see COPYING.DJ for details */
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <stdlib.h>
-
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
+#include "precomp.h"
+
#include <limits.h>
#include <ctype.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <internal/file.h>
-
/*
* @implemented
#include <limits.h>
#include <ctype.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <internal/file.h>
/*
* Convert a string to an unsigned long integer.
#include <limits.h>
#include <ctype.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <internal/file.h>
#if defined (_MSC_VER)
#define UINT64_MAX 0xffffffffffffffff
-#include <stdlib.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-#include <stdlib.h>
+#include "precomp.h"
#include <wchar.h>
-#include <errno.h>
-#include <internal/file.h>
#ifndef EILSEQ
#define EILSEQ EINVAL
Boston, MA 02111-1307, USA. */
#include "precomp.h"
-
-#include <stdlib.h>
#include <wchar.h>
-#include <errno.h>
-#include <internal/file.h>
#ifndef EILSEQ
#define EILSEQ EINVAL
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
+#include "precomp.h"
#include <limits.h>
-#include <ctype.h>
-#include <errno.h>
-#include <stdlib.h>
-#include <internal/file.h>
/*
* Convert a unicode string to an unsigned long integer.
Boston, MA 02111-1307, USA. */
#include "precomp.h"
-#include <stdlib.h>
#include <ctype.h>
#include <wchar.h>
-#include <errno.h>
-#include <internal/file.h>
-
int
STDCALL
* 1998: Added ltoa Boudewijn Dekker
*/
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-
-#include <errno.h>
-#include <stdlib.h>
-#include <internal/file.h>
-
+#include "precomp.h"
/*
* @implemented
*/
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <errno.h>
-#include <stdlib.h>
-#include <internal/file.h>
-
+#include "precomp.h"
/*
* @implemented
#include "precomp.h"
-#include <stdlib.h>
-#include <string.h>
#define NDEBUG
#include <internal/debug.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
+
#include <ctype.h>
#include <stdlib.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
#include "precomp.h"
#include <internal/tls.h>
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <ctype.h>
-#include <string.h>
+#include "precomp.h"
/*
* @implemented
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
#include "precomp.h"
-#include <string.h>
/* Compare S1 and S2, returning less than, equal to or
greater than zero if the collated form of S1 is lexicographically
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-#include <stdlib.h>
-
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-#include <stdlib.h>
-#include <errno.h>
-
+#include "precomp.h"
char __syserr00[] = "No Error";
char __syserr01[] = "Operation not permitted (EPERM)";
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-#include <ctype.h>
+#include "precomp.h"
/*
* @implemented
* Copyright 1997 Uwe Bonnes
*/
-#include <string.h>
-#include <ctype.h>
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-#include <ctype.h>
+#include "precomp.h"
/*
* @implemented
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include <string.h>
-#include <stdlib.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+#include "precomp.h"
/*
* @implemented
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
+#include "precomp.h"
/*
* Copyright 1997 Uwe Bonnes
*/
-
-#include <string.h>
-#include <ctype.h>
+#include "precomp.h"
/*
* @implemented
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
#include "precomp.h"
-#include <string.h>
#if 1
/*
*/
#include "precomp.h"
-#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
-#include <string.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
*/
#include "precomp.h"
-#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
-#include <string.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
-#include "precomp.h"
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
-#include <malloc.h>
-#include <stdlib.h>
+#include "precomp.h"
#include <sys/utime.h>
-#include <io.h>
-#include <time.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
#include "precomp.h"
-#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
-#include <io.h>
-#include <errno.h>
-#include <string.h>
-#include <internal/file.h>
-
/*
* @implemented
-#include "precomp.h"
-#include <sys/time.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+#include "precomp.h"
int month[12] = { 31,28,31,30,31,30,31,31,30,31,30,31};
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
#include "precomp.h"
-#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
-#include <io.h>
-#include <errno.h>
-#include <string.h>
-#include <internal/file.h>
-
/*
* @implemented
*/
#include "precomp.h"
-#include <time.h>
-#include <internal/file.h>
/*
* @implemented
*/
#include "precomp.h"
-#include <fcntl.h>
-#include <time.h>
-#include <string.h>
-#include <ctype.h>
-#include <stdio.h>
-#include <stdlib.h>
+#include <fcntl.h>
#include "tzfile.h"
-
-#include <io.h>
-
#include "posixrul.h"
-
#ifdef __cplusplus
#define CPP_CONST const
#else
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
#include "precomp.h"
-#include <time.h>
/*
* @implemented
*/
#include "precomp.h"
-#include <sys/time.h>
#include <sys/timeb.h>
/* ftime (3) -- Obsolete BSD library function included in the SUS for copat.
*/
#include "precomp.h"
-#include <time.h>
-#include <stdio.h>
-#include <errno.h>
-#include <internal/file.h>
-
-
/*
* @implemented
*/
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <string.h>
-#include <time.h>
-#include <stdlib.h>
-#include <wchar.h>
+#include "precomp.h"
#define TM_YEAR_BASE 1900
*/
#include "precomp.h"
-#include <time.h>
-#include <stdio.h>
-#include <errno.h>
-#include <internal/file.h>
-
-
/*
* @implemented
*/
* UPDATE HISTORY:
* 28/12/98: Created
*/
-
/*
* DOS file system functions
*
*/
#include "precomp.h"
-#include <time.h>
-#include <internal/file.h>
-
VOID STDCALL GetSystemTimeAsFileTime(LPFILETIME lpSystemTimeAsFileTime);
*/
#include "precomp.h"
-#include <fcntl.h>
-#include <time.h>
-#include <wchar.h>
#include "tzfile.h"
-
/*
* @implemented
*/
* 28/12/98: Created
*/
#include "precomp.h"
-#include <time.h>
-#include <stdio.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
* 28/12/98: Created
*/
#include "precomp.h"
-#include <time.h>
-#include <stdio.h>
-#include <errno.h>
-#include <internal/file.h>
-
/*
* @implemented
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-
-/*
-#include <stdarg.h>
-
-#include "windef.h"
-#include "winbase.h"
-#include "winreg.h"
-#include "winternl.h"
-#include "msvcrt.h"
-*/
#include "precomp.h"
-#include <stdarg.h>
#include <wchar.h>
-#include <stdio.h>
#include <conio.h>
#include <ctype.h>
-#include <internal/file.h>
#define NDEBUG
#include <internal/debug.h>
-//#include "wine/debug.h"
-
#define WARN DPRINT1
-//WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
-
extern FILE _iob[];
/* helper function for *scanf. Returns the value of character c in the
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
-#include <string.h>
+#include "precomp.h"
/*
* @unimplemented
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include "precomp.h"
-
-#include <errno.h>
-#include <stdlib.h>
-#include <string.h>
-#include <internal/file.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+#include "precomp.h"
/*
* @implemented
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
-#include <ctype.h>
-#include <string.h>
-
+#include "precomp.h"
/*
* @implemented
* Copyright 1997 Uwe Bonnes
*/
-#include <wchar.h>
+#include "precomp.h"
/*
* @implemented
-#include <wchar.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include "precomp.h"
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
-#include <string.h>
-#include <internal/tls.h>
+#include "precomp.h"
wchar_t** _wlasttoken(); /* wlasttok.c */
-#include <ctype.h>
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
-#include <string.h>
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
+
+#include "precomp.h"
/*
* @implemented
+/*
+ * COPYRIGHT: See COPYING in the top level directory
+ * PROJECT: ReactOS system libraries
+ * FILE: lib/crt/??????
+ * PURPOSE: Unknown
+ * PROGRAMER: Unknown
+ * UPDATE HISTORY:
+ * 25/11/05: Added license header
+ */
#include "precomp.h"
#include <internal/tls.h>
#include <assert.h>
+
/*
* This is an MSVCRT internal function to return the lasttoken
* bit of data used by wcstok. The reason for it's existence is