view modules/mknod @ 14730:f0a9a2cd267c

fclose: preserve fflush errors Caught by gcc -Werror=unused-but-set-variable. * lib/fclose.c (rpl_fclose): Don't lose fflush errors. Reported by Jim Meyering. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Wed, 11 May 2011 11:35:06 -0600
parents efab6978105e
children fe27dd198576
line wrap: on
line source

Description:
mknod() function: create various special devices

Files:
lib/mknod.c
m4/mknod.m4

Depends-on:
sys_stat
extensions
mkfifo          [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1]
stat            [test $HAVE_MKNOD = 0 || test $REPLACE_MKNOD = 1]

configure.ac:
gl_FUNC_MKNOD
gl_UNISTD_MODULE_INDICATOR([mknod])

Makefile.am:

Include:
<sys/stat.h>

License:
LGPL

Maintainer:
Eric Blake