/***************************** PDI STD File ***********************************
This file is taken from external sources. this is taken from open source uClibc++ 
library available on github. below is reference link. Thanking to author for
providing this .

This is free software. you can redistribute it and/or modify it but without any
warranty.

referred from   : https://github.com/mike-matera/ArduinoSTL
added Date      : 1st Dec 2024
added by        : Suraj I.
******************************************************************************/

#include <stdio.h>
#include "basic_definitions"

#ifndef __HEADER_CSTDIO
#define __HEADER_CSTDIO 1

#undef clearerr
#undef feof
#undef ferror
#undef fgetc
#undef fputc
#undef getc
#undef getchar
#undef putc
#undef putchar

namespace pdistd{
	using ::FILE;
	using ::fpos_t;

	using ::clearerr;
	using ::fclose;
	using ::feof;
	using ::ferror;
	using ::fflush;
	using ::fgetc;
	using ::fgetpos;
	using ::fgets;
	using ::fopen;
	using ::fprintf;
	using ::fputc;
	using ::fputs;
	using ::fread;
	using ::freopen;
	using ::fscanf;
	using ::fseek;
	using ::fsetpos;
	using ::ftell;
	using ::fwrite;
	using ::getc;
	using ::getchar;
#if __cplusplus <= 201103L
	// LWG 2249
	using ::gets;
#endif
	using ::perror;
	using ::printf;
	using ::putc;
	using ::putchar;
	using ::puts;
	using ::remove;
	using ::rename;
	using ::rewind;
	using ::scanf;
	using ::setbuf;
	using ::setvbuf;
	using ::sprintf;
	using ::sscanf;
	using ::tmpfile;
#ifdef _GLIBCXX_USE_TMPNAM
	using ::tmpnam;
#endif
	using ::ungetc;
	using ::vfprintf;
	using ::vprintf;
	using ::vsprintf;
}



#endif

