Back to index
Go to the source code of this file.
Definition at line 27 of file test-fmemopen.c.
stream = fmemopen (buffer, strlen (buffer), "r");
while ((ch = fgetc (stream)) != EOF)
printf ("Got %c\n", ch);
Definition at line 21 of file test-fmemopen.c.