C file input/output: Difference between revisions

Content deleted Content added
mNo edit summary
No edit summary
Line 6:
:<code>FILE * fdopen(int fildes, const char *mode);</code>
:<code>FILE * freopen(const char *path, const char *mode, FILE * restrict stream);</code>
 
In some libraries, <code>mode</code> can include a letter '''b''', which indicates the given file is a [[binary file]]. Without that, a sequence of carring return and line feed is automatically regarded as line feed.