indigo. posix. stdio

Created08.08.2005
Last modified08.08.2005

Contains the basic POSIX interface for stream input/output.  Compile with version “Indigo_WithoutStdlib” to remove any Phobos dependencies.  Compile with version “Indigo_File64Bit” to use the 64 bit file functions instead of the 32 bit ones.  The following entities are declared:

  • FILE
  • EOF
  • SEEK_SET
  • SEEK_CUR
  • SEEK_END
  • _IOFBF
  • _IOLBF
  • _IONBF
  • tmpfile()
  • fopen()
  • fdopen()
  • freopen()
  • fclose()
  • fcloseall()
  • fflush()
  • fileno()
  • feof()
  • ferror()
  • ftell()
  • fseek()
  • setvbuf()
  • fgetc()
  • fputc()
  • fgets()
  • fputs()
  • fread()
  • fwrite()
  • printf()
  • vprintf()
  • fprintf()
  • vfprintf()
  • sprintf()
  • vsprintf()
  • snprintf()
  • vsnprintf()
  • scanf()
  • vscanf()
  • fscanf()
  • vfscanf()
  • sscanf()
  • vsscanf()
  • remove()
  • rename()

The following C global variables are actually functions, but you can use them like rvalue variables.

  • stdin
  • stdout
  • stderr