view modules/mkdir @ 12211:76cbe8b29dce

mkdir: make safe for libraries xstrdup is too dangerous to use in a syscall replacement. * modules/mkdir (Depends-on): Drop xalloc. * lib/mkdir.c (rpl_mkdir): Fail with ENOMEM rather than calling exit. Signed-off-by: Eric Blake <ebb9@byu.net>
author Eric Blake <ebb9@byu.net>
date Thu, 29 Oct 2009 09:37:42 -0600
parents 3e62859ad66f
children d642b5a319a9
line wrap: on
line source

Description:
mkdir() function: create a directory.

Files:
lib/mkdir.c
m4/mkdir.m4

Depends-on:
sys_stat
dirname

configure.ac:
gl_FUNC_MKDIR

Makefile.am:

Include:
<sys/stat.h>

License:
LGPLv2+

Maintainer:
Jim Meyering