Add <libgen.h> header, from XPG4.2.
This commit is contained in:
parent
9e35298d34
commit
aac78bc58f
@ -589,6 +589,7 @@
|
||||
./usr/include/isofs/cd9660/iso_rrip.h
|
||||
./usr/include/kvm.h
|
||||
./usr/include/langinfo.h
|
||||
./usr/include/libgen.h
|
||||
./usr/include/limits.h
|
||||
./usr/include/link.h
|
||||
./usr/include/locale.h
|
||||
|
@ -1,12 +1,12 @@
|
||||
# $NetBSD: Makefile,v 1.69 1997/04/30 00:45:41 thorpej Exp $
|
||||
# $NetBSD: Makefile,v 1.70 1997/11/02 16:34:21 kleink Exp $
|
||||
# @(#)Makefile 5.45.1.1 (Berkeley) 5/6/91
|
||||
|
||||
# Missing: mp.h
|
||||
|
||||
INCS= a.out.h ar.h assert.h bitstring.h bm.h cpio.h ctype.h db.h dirent.h \
|
||||
disktab.h dlfcn.h err.h fnmatch.h fstab.h fts.h glob.h grp.h ieeefp.h \
|
||||
iso646.h kvm.h langinfo.h limits.h locale.h malloc.h math.h md4.h \
|
||||
memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
|
||||
iso646.h kvm.h langinfo.h libgen.h limits.h locale.h malloc.h math.h \
|
||||
md4.h memory.h mpool.h ndbm.h netdb.h netgroup.h nlist.h nl_types.h \
|
||||
paths.h pwd.h ranlib.h re_comp.h regex.h regexp.h resolv.h rmt.h \
|
||||
search.h setjmp.h sgtty.h signal.h stab.h stddef.h stdio.h stdlib.h \
|
||||
string.h strings.h stringlist.h struct.h sysexits.h tar.h time.h \
|
||||
|
49
include/libgen.h
Normal file
49
include/libgen.h
Normal file
@ -0,0 +1,49 @@
|
||||
/* $NetBSD: libgen.h,v 1.1 1997/11/02 16:34:22 kleink Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software contributed to The NetBSD Foundation
|
||||
* by Klaus Klein.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. All advertising materials mentioning features or use of this software
|
||||
* must display the following acknowledgement:
|
||||
* This product includes software developed by the NetBSD
|
||||
* Foundation, Inc. and its contributors.
|
||||
* 4. Neither the name of The NetBSD Foundation nor the names of its
|
||||
* contributors may be used to endorse or promote products derived
|
||||
* from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
|
||||
* ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
|
||||
* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
|
||||
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _LIBGEN_H_
|
||||
#define _LIBGEN_H_
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
char *basename __P((char *));
|
||||
char *dirname __P((char *));
|
||||
__END_DECLS
|
||||
|
||||
#endif /* !_LIBGEN_H_ */
|
Loading…
Reference in New Issue
Block a user