view modules/fopen @ 17724:8526f2f0b117

maint.mk: give projects more flexibilty in set_prog_name arguments * top/maint.mk (sc_program_name): Allow arguments other than argv[0] to be passed to set_program_name(). This is needed by the multicall coreutils program for example.
author Pádraig Brady <P@draigBrady.com>
date Sat, 12 Jul 2014 15:21:12 +0100
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
fopen() function: open a stream to a file.

Files:
lib/fopen.c
m4/fopen.m4

Depends-on:
stdio
largefile
unistd          [test $REPLACE_FOPEN = 1]
fstat           [test $REPLACE_FOPEN = 1]

configure.ac:
gl_FUNC_FOPEN
if test $REPLACE_FOPEN = 1; then
  AC_LIBOBJ([fopen])
  gl_PREREQ_FOPEN
fi
gl_STDIO_MODULE_INDICATOR([fopen])

Makefile.am:

Include:
<stdio.h>

License:
LGPLv2+

Maintainer:
all