About 180,000 results
Open links in new tab
  1. C fopen () Function - GeeksforGeeks

    Jul 12, 2025 · In C, the fopen () function is used to open a file in the specified mode. The function returns a file pointer (FILE *) which is used to perform further operations on the file, such as reading from or …

  2. C Library - fopen () function

    The C library function FILE *fopen (const char *filename, const char *mode) opens the filename pointed to, by filename using the given mode. It opens a file and returns a pointer to a FILE object that can …

  3. fopen (3) - Linux manual page - man7.org

    fopen, fdopen, freopen - stream open functions. Standard C library (libc, -lc) Feature Test Macro Requirements for glibc (see. feature_test_macros(7)): fdopen (): _POSIX_C_SOURCE. The fopen () …

  4. std:: fopen - cppreference.com

    Sep 10, 2023 · File access mode flag "b" can optionally be specified to open a file in binary mode. This flag has no effect on POSIX systems, but on Windows, for example, it disables special handling of …

  5. fopen (3): stream open functions - Linux man page

    The fopen () function opens the file whose name is the string pointed to by path and associates a stream with it.

  6. fopen

    The fopen () function shall open the file whose pathname is the string pointed to by pathname, and associates a stream with it. The mode argument points to a string.

  7. fopen, _wfopen | Microsoft Learn

    Jun 12, 2025 · The fopen function opens the file specified by filename. By default, a narrow filename string is interpreted using the ANSI codepage (CP_ACP). In Windows Desktop applications, it can be …

  8. fopen - C++ Users

    Opens the file whose name is specified in the parameter filename and associates it with a stream that can be identified in future operations by the FILE pointer returned. The operations that are allowed …

  9. Opening Streams (The GNU C Library)

    In the GNU C Library, you can simply close the standard streams and open new ones with fopen. But other systems lack this ability, so using freopen is more portable.

  10. C stdio fopen () Function - W3Schools

    Definition and Usage The fopen() function opens a file and returns a special FILE pointer which is used in other functions that read and write into files. The fopen() function is defined in the <stdio.h> header …