mirror of git://sourceware.org/git/glibc.git
update from main archive 970129
1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com> * sysdeps/i386/elf/start.S (_start): Align stack pointer to double word boundary before pushing args for main. This way we don't get penalties for misaligned memory accesses. Reported by Edward Seidl <seidl@janed.com>. * Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51. Patch by HJ Lu. * misc/bsd-compat.c: Update copyright. * misc/efgcvt.c: Likewise. * misc/efgcvt_r.c: Likewise. * misc/error.c: Likewise. * misc/error.h: Likewise. * misc/fstab.c: Likewise. * misc/init-misc.c: Likewise. * misc/lsearch.c: Likewise. * misc/mntent.c: Likewise. * misc/qefgcvt.c: Likewise. * misc/qefgcvt_r.c: Likewise. * nss/databases.def: Likewise. * nss/db-Makefile: Likewise. * nss/ethers-lookup.c: Likewise. * nss/hosts-lookup.c: Likewise. * nss/netgrp-lookup.c: Likewise. * nss/nsswitch.h: Likewise. * nss/proto-lookup.c: Likewise. * nss/rpc-lookup.c: Likewise. * nss/service-lookup.c: Likewise. * nss/nss_db/db-netgrp.c: Likewise. * nss/nss_files/files-grp.c: Likewise. * nss/nss_files/files-hosts.c: Likewise. * nss/nss_files/files-network.c: Likewise. * nss/nss_files/files-proto.c: Likewise. * nss/nss_files/files-pwd.c: Likewise. * nss/nss_files/files-rpc.c: Likewise. * nss/nss_files/files-service.c: Likewise. * nss/nss_files/files-spwd.c: Likewise. * shadow/fgetspent.c: Likewise. * shadow/fgetspent_r.c: Likewise. * shadow/getspent.c: Likewise. * shadow/getspent_r.c: Likewise. * shadow/getspnam.c: Likewise. * shadow/getspnam_r.c: Likewise. * shadow/putspent.c: Likewise. * shadow/sgetspent.c: Likewise. * shadow/sgetspent_r.c: Likewise. * sysdeps/i386/init-first.c: Likewise. * sysdeps/unix/i386/sysdep.S: Likewise. * shadow/shadow.h: Don't use __USE_REENTRENT. All code must be prepared to be running in a multi-threaded environment. Change to __USE_MISC unless the function is defined in POSIX.1 (in this case also test for __USE_POSIX). * dirent/dirent.h: Likewise. * grp/grp.h: Likewise. * inet/aliases.h: Likewise. * libio/libio.h: Likewise. * libio/stdio.h: Likewise. * login/utmp.h: Likewise. * math/mathcalls.h: Likewise. * misc/mntent.h: Likewise. * pwd/pwd.h: Likewise. * resolv/netdb.h: Likewise. * stdlib/stdlib.h: Likewise. * string/string.h: Likewise. * sunrpc/rpc/netdb.h: Likewise. * sysdeps/generic/crypt.h: Likewise. * sysdeps/unix/sysv/linux/errnos.h: Likewise. * time/time.h: Likewise. 1997-01-30 00:27 Fila Kolodny <fila@ibi.com> * sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h only if not cross compiling. 1997-01-29 16:16 Fila Kolodny <fila@ibi.com> * sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of NULL. * sysdeps/posix/sigwait.c: Likewise. 1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> * Makeconfig ($(common-objpfx)config.make): Depend on $(..)config.make.in.
This commit is contained in:
parent
56552e4257
commit
19361cb768
88
ChangeLog
88
ChangeLog
|
@ -1,3 +1,91 @@
|
||||||
|
1997-01-30 03:24 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* sysdeps/i386/elf/start.S (_start): Align stack pointer to
|
||||||
|
double word boundary before pushing args for main. This way we
|
||||||
|
don't get penalties for misaligned memory accesses. Reported by
|
||||||
|
Edward Seidl <seidl@janed.com>.
|
||||||
|
|
||||||
|
* Makefile: Correct *my* changes of Richards patch of 1997-01-28 10:51.
|
||||||
|
Patch by HJ Lu.
|
||||||
|
|
||||||
|
* misc/bsd-compat.c: Update copyright.
|
||||||
|
* misc/efgcvt.c: Likewise.
|
||||||
|
* misc/efgcvt_r.c: Likewise.
|
||||||
|
* misc/error.c: Likewise.
|
||||||
|
* misc/error.h: Likewise.
|
||||||
|
* misc/fstab.c: Likewise.
|
||||||
|
* misc/init-misc.c: Likewise.
|
||||||
|
* misc/lsearch.c: Likewise.
|
||||||
|
* misc/mntent.c: Likewise.
|
||||||
|
* misc/qefgcvt.c: Likewise.
|
||||||
|
* misc/qefgcvt_r.c: Likewise.
|
||||||
|
* nss/databases.def: Likewise.
|
||||||
|
* nss/db-Makefile: Likewise.
|
||||||
|
* nss/ethers-lookup.c: Likewise.
|
||||||
|
* nss/hosts-lookup.c: Likewise.
|
||||||
|
* nss/netgrp-lookup.c: Likewise.
|
||||||
|
* nss/nsswitch.h: Likewise.
|
||||||
|
* nss/proto-lookup.c: Likewise.
|
||||||
|
* nss/rpc-lookup.c: Likewise.
|
||||||
|
* nss/service-lookup.c: Likewise.
|
||||||
|
* nss/nss_db/db-netgrp.c: Likewise.
|
||||||
|
* nss/nss_files/files-grp.c: Likewise.
|
||||||
|
* nss/nss_files/files-hosts.c: Likewise.
|
||||||
|
* nss/nss_files/files-network.c: Likewise.
|
||||||
|
* nss/nss_files/files-proto.c: Likewise.
|
||||||
|
* nss/nss_files/files-pwd.c: Likewise.
|
||||||
|
* nss/nss_files/files-rpc.c: Likewise.
|
||||||
|
* nss/nss_files/files-service.c: Likewise.
|
||||||
|
* nss/nss_files/files-spwd.c: Likewise.
|
||||||
|
* shadow/fgetspent.c: Likewise.
|
||||||
|
* shadow/fgetspent_r.c: Likewise.
|
||||||
|
* shadow/getspent.c: Likewise.
|
||||||
|
* shadow/getspent_r.c: Likewise.
|
||||||
|
* shadow/getspnam.c: Likewise.
|
||||||
|
* shadow/getspnam_r.c: Likewise.
|
||||||
|
* shadow/putspent.c: Likewise.
|
||||||
|
* shadow/sgetspent.c: Likewise.
|
||||||
|
* shadow/sgetspent_r.c: Likewise.
|
||||||
|
* sysdeps/i386/init-first.c: Likewise.
|
||||||
|
* sysdeps/unix/i386/sysdep.S: Likewise.
|
||||||
|
|
||||||
|
* shadow/shadow.h: Don't use __USE_REENTRENT. All code must be
|
||||||
|
prepared to be running in a multi-threaded environment. Change
|
||||||
|
to __USE_MISC unless the function is defined in POSIX.1 (in this
|
||||||
|
case also test for __USE_POSIX).
|
||||||
|
* dirent/dirent.h: Likewise.
|
||||||
|
* grp/grp.h: Likewise.
|
||||||
|
* inet/aliases.h: Likewise.
|
||||||
|
* libio/libio.h: Likewise.
|
||||||
|
* libio/stdio.h: Likewise.
|
||||||
|
* login/utmp.h: Likewise.
|
||||||
|
* math/mathcalls.h: Likewise.
|
||||||
|
* misc/mntent.h: Likewise.
|
||||||
|
* pwd/pwd.h: Likewise.
|
||||||
|
* resolv/netdb.h: Likewise.
|
||||||
|
* stdlib/stdlib.h: Likewise.
|
||||||
|
* string/string.h: Likewise.
|
||||||
|
* sunrpc/rpc/netdb.h: Likewise.
|
||||||
|
* sysdeps/generic/crypt.h: Likewise.
|
||||||
|
* sysdeps/unix/sysv/linux/errnos.h: Likewise.
|
||||||
|
* time/time.h: Likewise.
|
||||||
|
|
||||||
|
1997-01-30 00:27 Fila Kolodny <fila@ibi.com>
|
||||||
|
|
||||||
|
* sunrpc/Makefile (install-others): Add rpcsvc/bootparam_prot.h
|
||||||
|
only if not cross compiling.
|
||||||
|
|
||||||
|
1997-01-29 16:16 Fila Kolodny <fila@ibi.com>
|
||||||
|
|
||||||
|
* sysdeps/posix/sigpause.c: Include <stddef.h> to get definition of
|
||||||
|
NULL.
|
||||||
|
* sysdeps/posix/sigwait.c: Likewise.
|
||||||
|
|
||||||
|
1997-01-28 23:42 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
|
* Makeconfig ($(common-objpfx)config.make): Depend on
|
||||||
|
$(..)config.make.in.
|
||||||
|
|
||||||
1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com>
|
1997-01-29 04:30 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* sunrpc/Makefile: Don't generate headers derived from .x files when
|
* sunrpc/Makefile: Don't generate headers derived from .x files when
|
||||||
|
|
25
FAQ
25
FAQ
|
@ -74,6 +74,9 @@ please let me know.
|
||||||
|
|
||||||
[Q20] ``How can I compile gcc 2.7.2.1 from the gcc source code using
|
[Q20] ``How can I compile gcc 2.7.2.1 from the gcc source code using
|
||||||
glibc 2.x?
|
glibc 2.x?
|
||||||
|
|
||||||
|
[Q21] ``On Linux I've got problems with the declarations in Linux
|
||||||
|
kernel headers.''
|
||||||
|
|
||||||
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||||
[Q1] ``What systems does the GNU C Library run on?''
|
[Q1] ``What systems does the GNU C Library run on?''
|
||||||
|
@ -605,9 +608,25 @@ is very tricky to compile gcc 2.7.2.1 using glibc 2.x. You have to
|
||||||
build it manually or with one pass only. You also have to use the
|
build it manually or with one pass only. You also have to use the
|
||||||
specs file in this FAQ while compiling gcc.
|
specs file in this FAQ while compiling gcc.
|
||||||
|
|
||||||
A pre-compiled binary version of gcc 2.7.2.1 linked with glibc 2.x for
|
|
||||||
Linux/x86 is available in the same directory at the glibc 2.x source
|
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||||
code ftp sites.
|
[Q21] ``On Linux I've got problems with the declarations in Linux
|
||||||
|
kernel headers.''
|
||||||
|
|
||||||
|
[A21] {UD,AJ} On Linux, the use of kernel headers is reduced to a very
|
||||||
|
minimum. Besides giving Linus the possibility to change the headers
|
||||||
|
more freely it has another reason: user level programs now do not
|
||||||
|
always use the same types like the kernel does.
|
||||||
|
|
||||||
|
I.e., the libc abstracts the use of types. E.g., the sigset_t type is
|
||||||
|
in the kernel 32 or 64 bits wide. In glibc it is 1024 bits wide, in
|
||||||
|
preparation for future development. The reasons are obvious: we don't
|
||||||
|
want to have a new major release when the Linux kernel gets these
|
||||||
|
functionality. Consult the headers for more information about the changes.
|
||||||
|
|
||||||
|
Therefore you shouldn't include Linux kernel header files directly if
|
||||||
|
glibc has defined a replacement. Otherwise you might get undefined
|
||||||
|
results because of type conflicts.
|
||||||
|
|
||||||
|
|
||||||
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
|
||||||
|
|
|
@ -91,7 +91,8 @@ export full-config-sysdirs := $(full-config-sysdirs)
|
||||||
# changes and so config.status would be run every time; the dependence of
|
# changes and so config.status would be run every time; the dependence of
|
||||||
# config.make should suffice to force regeneration and re-exec, and the new
|
# config.make should suffice to force regeneration and re-exec, and the new
|
||||||
# image will notice if config.h changed.
|
# image will notice if config.h changed.
|
||||||
$(common-objpfx)config.make: $(common-objpfx)config.status $(..)config.h.in
|
$(common-objpfx)config.make: $(common-objpfx)config.status \
|
||||||
|
$(..)config.make.in $(..)config.h.in
|
||||||
cd $(<D); $(SHELL) $(<F)
|
cd $(<D); $(SHELL) $(<F)
|
||||||
|
|
||||||
# Find all the sysdeps configure fragments, to make sure we re-run
|
# Find all the sysdeps configure fragments, to make sure we re-run
|
||||||
|
|
9
Makefile
9
Makefile
|
@ -94,7 +94,7 @@ install-others = $(inst_includedir)/gnu/stubs.h
|
||||||
install-bin = glibcbug
|
install-bin = glibcbug
|
||||||
|
|
||||||
ifeq (yes,$(build-shared))
|
ifeq (yes,$(build-shared))
|
||||||
before-compile += $(objpfx)lib-names.h
|
before-compile += $(objpfx)gnu/lib-names.h
|
||||||
install_others += $(inst_includedir)/gnu/lib-names.h
|
install_others += $(inst_includedir)/gnu/lib-names.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -196,12 +196,13 @@ ifeq (yes,$(build-shared))
|
||||||
|
|
||||||
# Like gnu/stubs.h the gnu/lib-names.h header is not used while building the
|
# Like gnu/stubs.h the gnu/lib-names.h header is not used while building the
|
||||||
# libc itself. So we generate it while installing.
|
# libc itself. So we generate it while installing.
|
||||||
$(inst_includedir)/gnu/lib-names.h: $(objpfx)lib-names.h
|
$(inst_includedir)/gnu/lib-names.h: $(objpfx)gnu/lib-names.h
|
||||||
if test -r $@ && cmp -s $< $@; \
|
if test -r $@ && cmp -s $< $@; \
|
||||||
then echo 'gnu/lib-names.h unchanged'; \
|
then echo 'gnu/lib-names.h unchanged'; \
|
||||||
else $(INSTALL_DATA) $< $@; fi
|
else $(INSTALL_DATA) $< $@; fi
|
||||||
|
|
||||||
$(objpfx)lib-names.h: $(common-objpfx)soversions.mk
|
$(objpfx)gnu/lib-names.h: $(common-objpfx)soversions.mk
|
||||||
|
$(make-target-directory)
|
||||||
@rm -f $@
|
@rm -f $@
|
||||||
(echo '/* This file is automatically generated.';\
|
(echo '/* This file is automatically generated.';\
|
||||||
echo ' It defines macros to allow user program to find the shared';\
|
echo ' It defines macros to allow user program to find the shared';\
|
||||||
|
@ -217,7 +218,7 @@ $(objpfx)lib-names.h: $(common-objpfx)soversions.mk
|
||||||
done;) | sort; \
|
done;) | sort; \
|
||||||
echo; \
|
echo; \
|
||||||
echo '#endif /* gnu/lib-names.h */';) > $@
|
echo '#endif /* gnu/lib-names.h */';) > $@
|
||||||
generated += lib-names.h
|
generated += gnu/lib-names.h
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# The `glibcbug' script contains the version number and it shall be rebuild
|
# The `glibcbug' script contains the version number and it shall be rebuild
|
||||||
|
|
|
@ -116,14 +116,14 @@ extern int closedir __P ((DIR *__dirp));
|
||||||
extern struct dirent *__readdir __P ((DIR *__dirp));
|
extern struct dirent *__readdir __P ((DIR *__dirp));
|
||||||
extern struct dirent *readdir __P ((DIR *__dirp));
|
extern struct dirent *readdir __P ((DIR *__dirp));
|
||||||
|
|
||||||
#if defined __USE_POSIX || defined __USE_REENTRANT
|
#if defined __USE_POSIX
|
||||||
/* Reentrant version of `readdir'. Return in RESULT a pointer to the
|
/* Reentrant version of `readdir'. Return in RESULT a pointer to the
|
||||||
next entry. */
|
next entry. */
|
||||||
extern int __readdir_r __P ((DIR *__dirp, struct dirent *entry,
|
extern int __readdir_r __P ((DIR *__dirp, struct dirent *entry,
|
||||||
struct dirent **result));
|
struct dirent **result));
|
||||||
extern int readdir_r __P ((DIR *__dirp, struct dirent *entry,
|
extern int readdir_r __P ((DIR *__dirp, struct dirent *entry,
|
||||||
struct dirent **result));
|
struct dirent **result));
|
||||||
#endif /* POSIX or reentrant */
|
#endif /* POSIX */
|
||||||
|
|
||||||
/* Rewind DIRP to the beginning of the directory. */
|
/* Rewind DIRP to the beginning of the directory. */
|
||||||
extern void rewinddir __P ((DIR *__dirp));
|
extern void rewinddir __P ((DIR *__dirp));
|
||||||
|
|
|
@ -91,10 +91,13 @@ extern struct group *getgrgid __P ((__gid_t __gid));
|
||||||
/* Search for an entry with a matching group name. */
|
/* Search for an entry with a matching group name. */
|
||||||
extern struct group *getgrnam __P ((__const char *__name));
|
extern struct group *getgrnam __P ((__const char *__name));
|
||||||
|
|
||||||
#if defined __USE_POSIX || defined __USE_REENTRENT
|
#if defined __USE_POSIX || defined __USE_MISC
|
||||||
|
|
||||||
|
#ifdef __USE_MISC
|
||||||
/* Reasonable value for the buffer sized used in the reentrant
|
/* Reasonable value for the buffer sized used in the reentrant
|
||||||
functions below. But better use `sysconf'. */
|
functions below. But better use `sysconf'. */
|
||||||
#define NSS_BUFLEN_GROUP 1024
|
#define NSS_BUFLEN_GROUP 1024
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Reentrant versions of some of the functions above.
|
/* Reentrant versions of some of the functions above.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -28,12 +28,12 @@ __BEGIN_DECLS
|
||||||
|
|
||||||
/* Structure to represent one entry of the alias data base. */
|
/* Structure to represent one entry of the alias data base. */
|
||||||
struct aliasent
|
struct aliasent
|
||||||
{
|
{
|
||||||
char *alias_name;
|
char *alias_name;
|
||||||
size_t alias_members_len;
|
size_t alias_members_len;
|
||||||
char **alias_members;
|
char **alias_members;
|
||||||
int alias_local;
|
int alias_local;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* Open alias data base files. */
|
/* Open alias data base files. */
|
||||||
|
@ -45,19 +45,18 @@ extern void endaliasent __P ((void));
|
||||||
/* Get the next entry from the alias data base. */
|
/* Get the next entry from the alias data base. */
|
||||||
extern struct aliasent *getaliasent __P ((void));
|
extern struct aliasent *getaliasent __P ((void));
|
||||||
|
|
||||||
/* Get alias entry corresponding to NAME. */
|
/* Get the next entry from the alias data base and put it in RESULT_BUF. */
|
||||||
extern struct aliasent *getaliasbyname __P ((__const char *__name));
|
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
|
||||||
/* Reentrant versions of some of the functions above. */
|
|
||||||
extern int getaliasent_r __P ((struct aliasent *__result_buf, char *__buffer,
|
extern int getaliasent_r __P ((struct aliasent *__result_buf, char *__buffer,
|
||||||
size_t __buflen, struct aliasent **__result));
|
size_t __buflen, struct aliasent **__result));
|
||||||
|
|
||||||
|
/* Get alias entry corresponding to NAME. */
|
||||||
|
extern struct aliasent *getaliasbyname __P ((__const char *__name));
|
||||||
|
|
||||||
|
/* Get alias entry corresponding to NAME and put it in RESULT_BUF. */
|
||||||
extern int getaliasbyname_r __P ((__const char *__name,
|
extern int getaliasbyname_r __P ((__const char *__name,
|
||||||
struct aliasent *__result_buf,
|
struct aliasent *__result_buf,
|
||||||
char *__buffer, size_t __buflen,
|
char *__buffer, size_t __buflen,
|
||||||
struct aliasent **__result));
|
struct aliasent **__result));
|
||||||
#endif /* reentrant */
|
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
|
|
@ -292,7 +292,10 @@ extern int _IO_ftrylockfile __P ((_IO_FILE *));
|
||||||
# define _IO_cleanup_region_end(_Doit) /**/
|
# define _IO_cleanup_region_end(_Doit) /**/
|
||||||
#endif /* !_IO_MTSAFE_IO */
|
#endif /* !_IO_MTSAFE_IO */
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
/* XXX Should we allow a symbol to be defined which selects the efficient
|
||||||
|
implementation when the user is really sure no threaded functions ever
|
||||||
|
will be used? */
|
||||||
|
#if 1
|
||||||
# define _IO_getc(_fp) _IO_getc (_fp)
|
# define _IO_getc(_fp) _IO_getc (_fp)
|
||||||
# define _IO_peekc(_fp) _IO_peekc_locked (_fp)
|
# define _IO_peekc(_fp) _IO_peekc_locked (_fp)
|
||||||
# define _IO_putc(_ch, _fp) _IO_putc (_ch, _fp)
|
# define _IO_putc(_ch, _fp) _IO_putc (_ch, _fp)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* This is part of the iostream/stdio library, providing -*- C -*- I/O.
|
/* This is part of the iostream/stdio library, providing -*- C -*- I/O.
|
||||||
Define ANSI C stdio on top of C++ iostreams.
|
Define ANSI C stdio on top of C++ iostreams.
|
||||||
Copyright (C) 1991, 1994, 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1991, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
This library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public
|
modify it under the terms of the GNU Library General Public
|
||||||
|
@ -138,7 +138,7 @@ extern int sprintf __P ((char*, __const char* format, ...));
|
||||||
extern int sscanf __P ((__const char* string, __const char* format, ...));
|
extern int sscanf __P ((__const char* string, __const char* format, ...));
|
||||||
extern FILE* tmpfile __P ((void));
|
extern FILE* tmpfile __P ((void));
|
||||||
extern char* tmpnam __P ((char*));
|
extern char* tmpnam __P ((char*));
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
extern char* tmpnam_r __P ((char*));
|
extern char* tmpnam_r __P ((char*));
|
||||||
#endif
|
#endif
|
||||||
#if defined(__USE_SVID) || defined(__USE_XOPEN)
|
#if defined(__USE_SVID) || defined(__USE_XOPEN)
|
||||||
|
@ -224,7 +224,7 @@ extern const char *const _sys_errlist[];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Handle locking of streams. */
|
/* Handle locking of streams. */
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
extern void clearerr_locked __P ((FILE *));
|
extern void clearerr_locked __P ((FILE *));
|
||||||
extern void clearerr_unlocked __P ((FILE *));
|
extern void clearerr_unlocked __P ((FILE *));
|
||||||
extern int feof_locked __P ((FILE *));
|
extern int feof_locked __P ((FILE *));
|
||||||
|
@ -233,9 +233,6 @@ extern int ferror_locked __P ((FILE*));
|
||||||
extern int ferror_unlocked __P ((FILE*));
|
extern int ferror_unlocked __P ((FILE*));
|
||||||
extern int fileno_locked __P ((FILE *));
|
extern int fileno_locked __P ((FILE *));
|
||||||
extern int fileno_unlocked __P ((FILE *));
|
extern int fileno_unlocked __P ((FILE *));
|
||||||
extern void flockfile __P ((FILE *));
|
|
||||||
extern void funlockfile __P ((FILE *));
|
|
||||||
extern int ftrylockfile __P ((FILE *));
|
|
||||||
extern int fclose_unlocked __P ((FILE *));
|
extern int fclose_unlocked __P ((FILE *));
|
||||||
extern int fflush_locked __P ((FILE *));
|
extern int fflush_locked __P ((FILE *));
|
||||||
extern int fflush_unlocked __P ((FILE *));
|
extern int fflush_unlocked __P ((FILE *));
|
||||||
|
@ -245,24 +242,35 @@ extern size_t fwrite_unlocked __P ((const void *, size_t, size_t, FILE *));
|
||||||
extern int fputc_locked __P ((int, FILE*));
|
extern int fputc_locked __P ((int, FILE*));
|
||||||
extern int fputc_unlocked __P ((int, FILE*));
|
extern int fputc_unlocked __P ((int, FILE*));
|
||||||
extern int getc_locked __P ((FILE *));
|
extern int getc_locked __P ((FILE *));
|
||||||
extern int getc_unlocked __P ((FILE *));
|
|
||||||
extern int getchar_locked __P ((void));
|
extern int getchar_locked __P ((void));
|
||||||
extern int getchar_unlocked __P ((void));
|
|
||||||
extern int putc_locked __P ((int, FILE *));
|
extern int putc_locked __P ((int, FILE *));
|
||||||
extern int putc_unlocked __P ((int, FILE *));
|
|
||||||
extern int putchar_locked __P ((int));
|
extern int putchar_locked __P ((int));
|
||||||
|
|
||||||
|
# ifndef _LIBC
|
||||||
|
# define getc_locked(fp) _IO_getc (fp)
|
||||||
|
# define getchar_locked() _IO_getc (stdin)
|
||||||
|
# define putchar_locked(c) _IO_putc (c, stdout)
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined __USE_POSIX || defined __USE_MISC
|
||||||
|
/* These are defined in POSIX.1:1996. */
|
||||||
|
extern void flockfile __P ((FILE *));
|
||||||
|
extern void funlockfile __P ((FILE *));
|
||||||
|
extern int ftrylockfile __P ((FILE *));
|
||||||
|
|
||||||
|
extern int getc_unlocked __P ((FILE *));
|
||||||
|
extern int getchar_unlocked __P ((void));
|
||||||
|
extern int putc_unlocked __P ((int, FILE *));
|
||||||
extern int putchar_unlocked __P ((int));
|
extern int putchar_unlocked __P ((int));
|
||||||
|
|
||||||
# ifndef _LIBC
|
# ifndef _LIBC
|
||||||
# define getc_unlocked(fp) _IO_getc_unlocked (fp)
|
# define getc_unlocked(fp) _IO_getc_unlocked (fp)
|
||||||
# define getc_locked(fp) _IO_getc (fp)
|
|
||||||
# define getchar_unlocked() _IO_getc_unlocked (stdin)
|
# define getchar_unlocked() _IO_getc_unlocked (stdin)
|
||||||
# define getchar_locked() _IO_getc (stdin)
|
# define putc_unlocked(c, fp) _IO_putc_unlocked ((c), (fp))
|
||||||
# define putchar_unlocked(c) _IO_putc_unlocked (c, stdout)
|
# define putchar_unlocked(c) _IO_putc_unlocked ((c), stdout)
|
||||||
# define putchar_locked(c) _IO_putc (c, stdout)
|
|
||||||
# endif
|
# endif
|
||||||
|
#endif /* POSIX || misc */
|
||||||
#endif /* __USE_REENTRANT */
|
|
||||||
|
|
||||||
#define getc(_fp) _IO_getc (_fp)
|
#define getc(_fp) _IO_getc (_fp)
|
||||||
#define putc(_ch, _fp) _IO_putc (_ch, _fp)
|
#define putc(_ch, _fp) _IO_putc (_ch, _fp)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1993, 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -77,7 +77,7 @@ extern struct utmp *getutline __P ((__const struct utmp *__line));
|
||||||
extern struct utmp *pututline __P ((__const struct utmp *__utmp_ptr));
|
extern struct utmp *pututline __P ((__const struct utmp *__utmp_ptr));
|
||||||
|
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant versions of the file for handling utmp files. */
|
/* Reentrant versions of the file for handling utmp files. */
|
||||||
extern int __getutent_r __P ((struct utmp *__buffer, struct utmp **__result));
|
extern int __getutent_r __P ((struct utmp *__buffer, struct utmp **__result));
|
||||||
extern int getutent_r __P ((struct utmp *__buffer, struct utmp **__result));
|
extern int getutent_r __P ((struct utmp *__buffer, struct utmp **__result));
|
||||||
|
@ -92,7 +92,7 @@ extern int __getutline_r __P ((__const struct utmp *__line,
|
||||||
extern int getutline_r __P ((__const struct utmp *__line,
|
extern int getutline_r __P ((__const struct utmp *__line,
|
||||||
struct utmp *__buffer, struct utmp **__result));
|
struct utmp *__buffer, struct utmp **__result));
|
||||||
|
|
||||||
#endif /* Use reentrant. */
|
#endif /* Use misc. */
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* Prototype declarations for math functions; helper file for <math.h>.
|
/* Prototype declarations for math functions; helper file for <math.h>.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -210,7 +210,7 @@ __MATHCALL (yn,, (int, _Mdouble_));
|
||||||
/* This variable is used by `gamma' and `lgamma'. */
|
/* This variable is used by `gamma' and `lgamma'. */
|
||||||
extern int signgam;
|
extern int signgam;
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
|
|
||||||
/* Reentrant versions of gamma and lgamma. Those functions use the global
|
/* Reentrant versions of gamma and lgamma. Those functions use the global
|
||||||
variable `signgam'. The reentrant versions instead take a pointer and
|
variable `signgam'. The reentrant versions instead take a pointer and
|
||||||
|
|
|
@ -1,22 +1,21 @@
|
||||||
/* BSD-compatible versions of functions where BSD and POSIX.1 conflict.
|
/* BSD-compatible versions of functions where BSD and POSIX.1 conflict.
|
||||||
|
Copyright (C) 1991, 92, 94, 95, 96, 97 Free Software Foundation, Inc.
|
||||||
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
Copyright (C) 1991, 1992, 1994, 1995, 1996 Free Software Foundation, Inc.
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
This file is part of the GNU C Library.
|
modify it under the terms of the GNU Library General Public License as
|
||||||
|
published by the Free Software Foundation; either version 2 of the
|
||||||
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
modify it under the terms of the GNU Library General Public License as
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
published by the Free Software Foundation; either version 2 of the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
License, or (at your option) any later version.
|
Library General Public License for more details.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
You should have received a copy of the GNU Library General Public
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Library General Public License for more details.
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
|
||||||
Cambridge, MA 02139, USA. */
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* [efg]cvt -- compatibility functions for floating point formatting.
|
/* Compatibility functions for floating point formatting.
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
|
@ -1,22 +1,21 @@
|
||||||
/* [efg]cvt -- compatibility functions for floating point formatting,
|
/* Compatibility functions for floating point formatting, reentrant versions.
|
||||||
reentrant versions.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
This file is part of the GNU C Library.
|
||||||
This file is part of the GNU C Library.
|
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
32
misc/error.c
32
misc/error.c
|
@ -1,23 +1,23 @@
|
||||||
/* error.c -- error handler for noninteractive utilities
|
/* Error handler for noninteractive utilities
|
||||||
Copyright (C) 1990, 91, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
|
Copyright (C) 1990,91,92,93,94,95,96,97 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
the C library, however. The master source lives in /gd/gnu/lib.
|
the C library, however. The master source lives in /gd/gnu/lib.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
/* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
|
/* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* error.h -- declaration for error-reporting function
|
/* Declaration for error-reporting function
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
the C library, however. The master source lives in /gd/gnu/lib.
|
the C library, however. The master source lives in /gd/gnu/lib.
|
||||||
|
|
29
misc/fstab.c
29
misc/fstab.c
|
@ -1,21 +1,20 @@
|
||||||
/*
|
/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
This file is part of the GNU C Library.
|
||||||
This file is part of the GNU C Library.
|
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <fstab.h>
|
#include <fstab.h>
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Define and initialize `__progname'.
|
/* Define and initialize `__progname' et. al.
|
||||||
Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
/* Linear search functions.
|
/* Linear search functions.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <search.h>
|
#include <search.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Utilities for reading/writing fstab, mtab, etc.
|
/* Utilities for reading/writing fstab, mtab, etc.
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <mntent.h>
|
#include <mntent.h>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* <mntent.h> -- Utilities for reading/writing fstab, mtab, etc.
|
/* Utilities for reading/writing fstab, mtab, etc.
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -72,7 +72,7 @@ extern FILE *setmntent __P ((__const char *__file, __const char *__mode));
|
||||||
check). */
|
check). */
|
||||||
extern struct mntent *getmntent __P ((FILE *__stream));
|
extern struct mntent *getmntent __P ((FILE *__stream));
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant version of the above function. */
|
/* Reentrant version of the above function. */
|
||||||
extern struct mntent *__getmntent_r __P ((FILE *__stream,
|
extern struct mntent *__getmntent_r __P ((FILE *__stream,
|
||||||
struct mntent *__result,
|
struct mntent *__result,
|
||||||
|
|
|
@ -1,22 +1,21 @@
|
||||||
/* q[efg]cvt -- compatibility functions for floating point formatting,
|
/* Compatibility functions for floating point formatting, long double version.
|
||||||
long double version.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
This file is part of the GNU C Library.
|
||||||
This file is part of the GNU C Library.
|
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define FLOAT_TYPE long double
|
#define FLOAT_TYPE long double
|
||||||
#define FUNC_PREFIX q
|
#define FUNC_PREFIX q
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
/* [efg]cvt -- compatibility functions for floating point formatting,
|
/* Compatibility functions for floating point formatting, reentrant,
|
||||||
reentrant, long double versions.
|
long double versions.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define FLOAT_TYPE long double
|
#define FLOAT_TYPE long double
|
||||||
#define FUNC_PREFIX q
|
#define FUNC_PREFIX q
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* List of all databases defined for the NSS in GNU C Library.
|
/* List of all databases defined for the NSS in GNU C Library.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
|
@ -32,3 +32,9 @@ DEFINE_DATABASE (publickey)
|
||||||
DEFINE_DATABASE (rpc)
|
DEFINE_DATABASE (rpc)
|
||||||
DEFINE_DATABASE (services)
|
DEFINE_DATABASE (services)
|
||||||
DEFINE_DATABASE (shadow)
|
DEFINE_DATABASE (shadow)
|
||||||
|
|
||||||
|
/*
|
||||||
|
Local Variables:
|
||||||
|
mode:C
|
||||||
|
End:
|
||||||
|
*/
|
||||||
|
|
|
@ -1,3 +1,23 @@
|
||||||
|
# Makefile to (re-)generate db versions of system database files.
|
||||||
|
# Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
|
# This file is part of the GNU C Library.
|
||||||
|
# Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
#
|
||||||
|
# The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
# modify it under the terms of the GNU Library General Public License as
|
||||||
|
# published by the Free Software Foundation; either version 2 of the
|
||||||
|
# License, or (at your option) any later version.
|
||||||
|
|
||||||
|
# The GNU C Library is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
|
# Library General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Library General Public
|
||||||
|
# License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
|
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
# Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
DATABASES = $(wildcard /etc/passwd /etc/group /etc/ethers /etc/protocols \
|
DATABASES = $(wildcard /etc/passwd /etc/group /etc/ethers /etc/protocols \
|
||||||
/etc/rpc /etc/services /etc/shadow /etc/netgroup)
|
/etc/rpc /etc/services /etc/shadow /etc/netgroup)
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define DATABASE_NAME ethers
|
#define DATABASE_NAME ethers
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define DATABASE_NAME hosts
|
#define DATABASE_NAME hosts
|
||||||
#define DEFAULT_CONFIG "dns [!UNAVAIL=return] files"
|
#define DEFAULT_CONFIG "dns [!UNAVAIL=return] files"
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define DATABASE_NAME netgroup
|
#define DATABASE_NAME netgroup
|
||||||
|
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
/* Netgroup file parser in nss_db modules.
|
/* Netgroup file parser in nss_db modules.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <db.h>
|
#include <db.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Group file parser in nss_files module.
|
/* Group file parser in nss_files module.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <grp.h>
|
#include <grp.h>
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Hosts file parser in nss_files module.
|
/* Hosts file parser in nss_files module.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Networks file parser in nss_files module.
|
/* Networks file parser in nss_files module.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Protocols file parser in nss_files module.
|
/* Protocols file parser in nss_files module.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* User file parser in nss_files module.
|
/* User file parser in nss_files module.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <pwd.h>
|
#include <pwd.h>
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* SunRPC program number file parser in nss_files module.
|
/* SunRPC program number file parser in nss_files module.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <rpc/netdb.h>
|
#include <rpc/netdb.h>
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Services file parser in nss_files module.
|
/* Services file parser in nss_files module.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netdb.h>
|
#include <netdb.h>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* User file parser in nss_files module.
|
/* User file parser in nss_files module.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#ifndef _NSSWITCH_H
|
#ifndef _NSSWITCH_H
|
||||||
#define _NSSWITCH_H 1
|
#define _NSSWITCH_H 1
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define DATABASE_NAME protocols
|
#define DATABASE_NAME protocols
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define DATABASE_NAME rpc
|
#define DATABASE_NAME rpc
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#define DATABASE_NAME services
|
#define DATABASE_NAME services
|
||||||
|
|
||||||
|
|
|
@ -94,10 +94,13 @@ extern struct passwd *getpwuid __P ((__uid_t __uid));
|
||||||
/* Search for an entry with a matching username. */
|
/* Search for an entry with a matching username. */
|
||||||
extern struct passwd *getpwnam __P ((__const char *__name));
|
extern struct passwd *getpwnam __P ((__const char *__name));
|
||||||
|
|
||||||
#if defined __USE_POSIX || defined __USE_REENTRANT
|
#if defined __USE_POSIX || defined __USE_MISC
|
||||||
|
|
||||||
|
#ifdef __USE_MISC
|
||||||
/* Reasonable value for the buffer sized used in the reentrant
|
/* Reasonable value for the buffer sized used in the reentrant
|
||||||
functions below. But better use `sysconf'. */
|
functions below. But better use `sysconf'. */
|
||||||
#define NSS_BUFLEN_PASSWD 1024
|
#define NSS_BUFLEN_PASSWD 1024
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Reentrant versions of some of the functions above.
|
/* Reentrant versions of some of the functions above.
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it
|
The GNU C Library is free software; you can redistribute it
|
||||||
|
@ -63,7 +63,7 @@ __set_h_errno (int __err)
|
||||||
#endif /* _LIBC */
|
#endif /* _LIBC */
|
||||||
|
|
||||||
|
|
||||||
#if defined __USE_REENTRANT && (!defined _LIBC || defined _LIBC_REENTRANT)
|
#if !defined _LIBC || defined _LIBC_REENTRANT
|
||||||
/* Use a macro to access always the thread specific `h_errno' variable. */
|
/* Use a macro to access always the thread specific `h_errno' variable. */
|
||||||
# define h_errno (*__h_errno_location ())
|
# define h_errno (*__h_errno_location ())
|
||||||
#endif
|
#endif
|
||||||
|
@ -125,7 +125,7 @@ extern struct hostent *gethostbyname __P ((__const char *__name));
|
||||||
for IPv6. */
|
for IPv6. */
|
||||||
extern struct hostent *gethostbyname2 __P ((__const char *__name, int __af));
|
extern struct hostent *gethostbyname2 __P ((__const char *__name, int __af));
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant versions of the functions above. The additional
|
/* Reentrant versions of the functions above. The additional
|
||||||
arguments specify a buffer of BUFLEN starting at BUF. The last
|
arguments specify a buffer of BUFLEN starting at BUF. The last
|
||||||
argument is a pointer to a variable which gets the value which
|
argument is a pointer to a variable which gets the value which
|
||||||
|
@ -164,7 +164,7 @@ extern int gethostbyname2_r __P ((__const char *__name, int __af,
|
||||||
struct hostent *__result_buf, char *__buf,
|
struct hostent *__result_buf, char *__buf,
|
||||||
size_t __buflen, struct hostent **__result,
|
size_t __buflen, struct hostent **__result,
|
||||||
int *__h_errnop));
|
int *__h_errnop));
|
||||||
#endif /* reentrant */
|
#endif /* misc */
|
||||||
|
|
||||||
|
|
||||||
/* Description of data base entry for a single network. NOTE: here a
|
/* Description of data base entry for a single network. NOTE: here a
|
||||||
|
@ -197,7 +197,7 @@ extern struct netent *getnetbyaddr __P ((unsigned long int __net,
|
||||||
/* Return entry from network data base for network with NAME. */
|
/* Return entry from network data base for network with NAME. */
|
||||||
extern struct netent *getnetbyname __P ((__const char *__name));
|
extern struct netent *getnetbyname __P ((__const char *__name));
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant versions of the functions above. The additional
|
/* Reentrant versions of the functions above. The additional
|
||||||
arguments specify a buffer of BUFLEN starting at BUF. The last
|
arguments specify a buffer of BUFLEN starting at BUF. The last
|
||||||
argument is a pointer to a variable which gets the value which
|
argument is a pointer to a variable which gets the value which
|
||||||
|
@ -227,7 +227,7 @@ extern int getnetbyname_r __P ((__const char *__name,
|
||||||
struct netent *__result_buf, char *__buf,
|
struct netent *__result_buf, char *__buf,
|
||||||
size_t __buflen, struct netent **__result,
|
size_t __buflen, struct netent **__result,
|
||||||
int *__h_errnop));
|
int *__h_errnop));
|
||||||
#endif /* reentrant */
|
#endif /* misc */
|
||||||
|
|
||||||
|
|
||||||
/* Description of data base entry for a single service. */
|
/* Description of data base entry for a single service. */
|
||||||
|
@ -260,7 +260,7 @@ extern struct servent *getservbyname __P ((__const char *__name,
|
||||||
extern struct servent *getservbyport __P ((int __port, __const char *__proto));
|
extern struct servent *getservbyport __P ((int __port, __const char *__proto));
|
||||||
|
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant versions of the functions above. The additional
|
/* Reentrant versions of the functions above. The additional
|
||||||
arguments specify a buffer of BUFLEN starting at BUF. */
|
arguments specify a buffer of BUFLEN starting at BUF. */
|
||||||
extern int __getservent_r __P ((struct servent *__result_buf, char *__buf,
|
extern int __getservent_r __P ((struct servent *__result_buf, char *__buf,
|
||||||
|
@ -283,7 +283,7 @@ extern int __getservbyport_r __P ((int __port, __const char *__proto,
|
||||||
extern int getservbyport_r __P ((int __port, __const char *__proto,
|
extern int getservbyport_r __P ((int __port, __const char *__proto,
|
||||||
struct servent *__result_buf, char *__buf,
|
struct servent *__result_buf, char *__buf,
|
||||||
size_t __buflen, struct servent **__result));
|
size_t __buflen, struct servent **__result));
|
||||||
#endif /* reentrant */
|
#endif /* misc */
|
||||||
|
|
||||||
|
|
||||||
/* Description of data base entry for a single service. */
|
/* Description of data base entry for a single service. */
|
||||||
|
@ -312,7 +312,7 @@ extern struct protoent *getprotobyname __P ((__const char *__name));
|
||||||
extern struct protoent *getprotobynumber __P ((int __proto));
|
extern struct protoent *getprotobynumber __P ((int __proto));
|
||||||
|
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant versions of the functions above. The additional
|
/* Reentrant versions of the functions above. The additional
|
||||||
arguments specify a buffer of BUFLEN starting at BUF. */
|
arguments specify a buffer of BUFLEN starting at BUF. */
|
||||||
extern int __getprotoent_r __P ((struct protoent *__result_buf, char *__buf,
|
extern int __getprotoent_r __P ((struct protoent *__result_buf, char *__buf,
|
||||||
|
@ -335,7 +335,7 @@ extern int __getprotobynumber_r __P ((int __proto, struct protoent *__res_buf,
|
||||||
extern int getprotobynumber_r __P ((int __proto, struct protoent *__result_buf,
|
extern int getprotobynumber_r __P ((int __proto, struct protoent *__result_buf,
|
||||||
char *__buf, size_t __buflen,
|
char *__buf, size_t __buflen,
|
||||||
struct protoent **__result));
|
struct protoent **__result));
|
||||||
#endif /* reentrant */
|
#endif /* misc */
|
||||||
|
|
||||||
|
|
||||||
/* Establish network group NETGROUP for enumeration. */
|
/* Establish network group NETGROUP for enumeration. */
|
||||||
|
@ -353,7 +353,7 @@ extern int getnetgrent __P ((char **__hostp, char **__userp,
|
||||||
extern int innetgr __P ((__const char *__netgroup, __const char *__host,
|
extern int innetgr __P ((__const char *__netgroup, __const char *__host,
|
||||||
__const char *__user, __const char *domain));
|
__const char *__user, __const char *domain));
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant version of `getnetgrent' where result is placed in BUFFER. */
|
/* Reentrant version of `getnetgrent' where result is placed in BUFFER. */
|
||||||
extern int __getnetgrent_r __P ((char **__hostp, char **__userp,
|
extern int __getnetgrent_r __P ((char **__hostp, char **__userp,
|
||||||
char **__domainp,
|
char **__domainp,
|
||||||
|
@ -361,7 +361,7 @@ extern int __getnetgrent_r __P ((char **__hostp, char **__userp,
|
||||||
extern int getnetgrent_r __P ((char **__hostp, char **__userp,
|
extern int getnetgrent_r __P ((char **__hostp, char **__userp,
|
||||||
char **__domainp,
|
char **__domainp,
|
||||||
char *__buffer, size_t __buflen));
|
char *__buffer, size_t __buflen));
|
||||||
#endif
|
#endif /* misc */
|
||||||
|
|
||||||
|
|
||||||
/* Extension from POSIX.1g. */
|
/* Extension from POSIX.1g. */
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of/tes
|
but WITHOUT ANY WARRANTY; without even the implied warranty of/tes
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Boston, MA 02111-1307, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
/* Copyright (C) 1991, 1992, 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 1992, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <shadow.h>
|
#include <shadow.h>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -38,20 +38,20 @@ __BEGIN_DECLS
|
||||||
|
|
||||||
/* Structure of the password file. */
|
/* Structure of the password file. */
|
||||||
struct spwd
|
struct spwd
|
||||||
{
|
{
|
||||||
char *sp_namp; /* Login name. */
|
char *sp_namp; /* Login name. */
|
||||||
char *sp_pwdp; /* Encrypted password. */
|
char *sp_pwdp; /* Encrypted password. */
|
||||||
long int sp_lstchg; /* Date of last change. */
|
long int sp_lstchg; /* Date of last change. */
|
||||||
long int sp_min; /* Minimum number of days between changes. */
|
long int sp_min; /* Minimum number of days between changes. */
|
||||||
long int sp_max; /* Maximum number of days between changes. */
|
long int sp_max; /* Maximum number of days between changes. */
|
||||||
long int sp_warn; /* Number of days to warn user to change
|
long int sp_warn; /* Number of days to warn user to change
|
||||||
the password. */
|
the password. */
|
||||||
long int sp_inact; /* Number of days the account may be
|
long int sp_inact; /* Number of days the account may be
|
||||||
inactive. */
|
inactive. */
|
||||||
long int sp_expire; /* Number of days since 1970-01-01 until
|
long int sp_expire; /* Number of days since 1970-01-01 until
|
||||||
account expires. */
|
account expires. */
|
||||||
unsigned long int sp_flag; /* Reserved. */
|
unsigned long int sp_flag; /* Reserved. */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/* Open database for reading. */
|
/* Open database for reading. */
|
||||||
|
@ -76,7 +76,7 @@ extern struct spwd *fgetspent __P ((FILE *__stream));
|
||||||
extern int putspent __P ((__const struct spwd *__p, FILE *__stream));
|
extern int putspent __P ((__const struct spwd *__p, FILE *__stream));
|
||||||
|
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant versions of some of the functions above. */
|
/* Reentrant versions of some of the functions above. */
|
||||||
extern int __getspent_r __P ((struct spwd *__result_buf, char *__buffer,
|
extern int __getspent_r __P ((struct spwd *__result_buf, char *__buffer,
|
||||||
size_t __buflen, struct spwd **__result));
|
size_t __buflen, struct spwd **__result));
|
||||||
|
@ -103,8 +103,7 @@ extern int __fgetspent_r __P ((FILE *__stream, struct spwd *__result_buf,
|
||||||
extern int fgetspent_r __P ((FILE *__stream, struct spwd *__result_buf,
|
extern int fgetspent_r __P ((FILE *__stream, struct spwd *__result_buf,
|
||||||
char *__buffer, size_t __buflen,
|
char *__buffer, size_t __buflen,
|
||||||
struct spwd **__result));
|
struct spwd **__result));
|
||||||
#endif /* reentrant */
|
#endif /* misc */
|
||||||
|
|
||||||
|
|
||||||
/* Protect password file against multi writers. */
|
/* Protect password file against multi writers. */
|
||||||
extern int __lckpwdf __P ((void));
|
extern int __lckpwdf __P ((void));
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -224,7 +224,7 @@ extern __ptr_t __setstate __P ((__ptr_t __statebuf));
|
||||||
extern __ptr_t setstate __P ((__ptr_t __statebuf));
|
extern __ptr_t setstate __P ((__ptr_t __statebuf));
|
||||||
|
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant versions of the `random' family of functions.
|
/* Reentrant versions of the `random' family of functions.
|
||||||
These functions all use the following data structure to contain
|
These functions all use the following data structure to contain
|
||||||
state, rather than global state variables. */
|
state, rather than global state variables. */
|
||||||
|
@ -253,8 +253,8 @@ extern int initstate_r __P ((unsigned int __seed, __ptr_t __statebuf,
|
||||||
|
|
||||||
extern int __setstate_r __P ((__ptr_t __statebuf, struct random_data *__buf));
|
extern int __setstate_r __P ((__ptr_t __statebuf, struct random_data *__buf));
|
||||||
extern int setstate_r __P ((__ptr_t __statebuf, struct random_data *__buf));
|
extern int setstate_r __P ((__ptr_t __statebuf, struct random_data *__buf));
|
||||||
#endif /* Use reentrant. */
|
#endif /* Use misc. */
|
||||||
#endif /* Use BSD. */
|
#endif /* Use SVID || extended X/Open. */
|
||||||
|
|
||||||
|
|
||||||
/* Return a random integer between 0 and RAND_MAX inclusive. */
|
/* Return a random integer between 0 and RAND_MAX inclusive. */
|
||||||
|
@ -262,7 +262,7 @@ extern int rand __P ((void));
|
||||||
/* Seed the random number generator with the given number. */
|
/* Seed the random number generator with the given number. */
|
||||||
extern void srand __P ((unsigned int __seed));
|
extern void srand __P ((unsigned int __seed));
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant interface according to POSIX.1. */
|
/* Reentrant interface according to POSIX.1. */
|
||||||
extern int __rand_r __P ((unsigned int *__seed));
|
extern int __rand_r __P ((unsigned int *__seed));
|
||||||
extern int rand_r __P ((unsigned int *__seed));
|
extern int rand_r __P ((unsigned int *__seed));
|
||||||
|
@ -299,7 +299,7 @@ struct drand48_data
|
||||||
int init; /* Flag for initializing. */
|
int init; /* Flag for initializing. */
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Return non-negative, double-precision floating-point value in [0.0,1.0). */
|
/* Return non-negative, double-precision floating-point value in [0.0,1.0). */
|
||||||
extern int drand48_r __P ((struct drand48_data *__buffer, double *__result));
|
extern int drand48_r __P ((struct drand48_data *__buffer, double *__result));
|
||||||
extern int erand48_r __P ((unsigned short int __xsubi[3],
|
extern int erand48_r __P ((unsigned short int __xsubi[3],
|
||||||
|
@ -321,7 +321,7 @@ extern int seed48_r __P ((unsigned short int __seed16v[3],
|
||||||
struct drand48_data *__buffer));
|
struct drand48_data *__buffer));
|
||||||
extern int lcong48_r __P ((unsigned short int __param[7],
|
extern int lcong48_r __P ((unsigned short int __param[7],
|
||||||
struct drand48_data *__buffer));
|
struct drand48_data *__buffer));
|
||||||
#endif /* Use reentrant. */
|
#endif /* Use misc. */
|
||||||
|
|
||||||
/* Internal function to compute next state of the generator. */
|
/* Internal function to compute next state of the generator. */
|
||||||
extern int __drand48_iterate __P ((unsigned short int __xsubi[3],
|
extern int __drand48_iterate __P ((unsigned short int __xsubi[3],
|
||||||
|
@ -515,7 +515,7 @@ extern char *qfcvt __P ((__long_double_t __value, int __ndigit, int *__decpt,
|
||||||
extern char *qgcvt __P ((__long_double_t __value, int __ndigit, char *__buf));
|
extern char *qgcvt __P ((__long_double_t __value, int __ndigit, char *__buf));
|
||||||
|
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant version of the functions above which provide their own
|
/* Reentrant version of the functions above which provide their own
|
||||||
buffers. */
|
buffers. */
|
||||||
extern int ecvt_r __P ((double __value, int __ndigit, int *__decpt,
|
extern int ecvt_r __P ((double __value, int __ndigit, int *__decpt,
|
||||||
|
@ -527,7 +527,7 @@ extern int qecvt_r __P ((__long_double_t __value, int __ndigit, int *__decpt,
|
||||||
int *__sign, char *__buf, size_t __len));
|
int *__sign, char *__buf, size_t __len));
|
||||||
extern int qfcvt_r __P ((__long_double_t __value, int __ndigit, int *__decpt,
|
extern int qfcvt_r __P ((__long_double_t __value, int __ndigit, int *__decpt,
|
||||||
int *__sign, char *__buf, size_t __len));
|
int *__sign, char *__buf, size_t __len));
|
||||||
#endif /* reentrant */
|
#endif /* misc */
|
||||||
#endif /* use MISC || use X/Open Unix */
|
#endif /* use MISC || use X/Open Unix */
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -138,7 +138,7 @@ extern char *strstr __P ((__const char *__haystack, __const char *__needle));
|
||||||
/* Divide S into tokens separated by characters in DELIM. */
|
/* Divide S into tokens separated by characters in DELIM. */
|
||||||
extern char *strtok __P ((char *__s, __const char *__delim));
|
extern char *strtok __P ((char *__s, __const char *__delim));
|
||||||
|
|
||||||
#if defined __USE_POSIX || defined __USE_REENTRANT
|
#if defined __USE_POSIX || defined __USE_MISC
|
||||||
/* Divide S into tokens separated by characters in DELIM. Information
|
/* Divide S into tokens separated by characters in DELIM. Information
|
||||||
passed between calls are stored in SAVE_PTR. */
|
passed between calls are stored in SAVE_PTR. */
|
||||||
extern char *strtok_r __P ((char *__s, __const char *__delim,
|
extern char *strtok_r __P ((char *__s, __const char *__delim,
|
||||||
|
@ -175,7 +175,7 @@ strnlen (__const char *__string, size_t __maxlen)
|
||||||
|
|
||||||
/* Return a string describing the meaning of the `errno' code in ERRNUM. */
|
/* Return a string describing the meaning of the `errno' code in ERRNUM. */
|
||||||
extern char *strerror __P ((int __errnum));
|
extern char *strerror __P ((int __errnum));
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
/* Reentrant version of `strerror'. If a temporary buffer is required, at
|
/* Reentrant version of `strerror'. If a temporary buffer is required, at
|
||||||
most BUFLEN bytes of BUF will be used. */
|
most BUFLEN bytes of BUF will be used. */
|
||||||
extern char *__strerror_r __P ((int __errnum, char *__buf, size_t __buflen));
|
extern char *__strerror_r __P ((int __errnum, char *__buf, size_t __buflen));
|
||||||
|
|
|
@ -53,11 +53,11 @@ headers = $(addprefix rpc/,auth.h auth_unix.h clnt.h netdb.h pmap_clnt.h \
|
||||||
pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h \
|
pmap_prot.h pmap_rmt.h rpc.h rpc_msg.h svc.h \
|
||||||
svc_auth.h types.h xdr.h auth_des.h) \
|
svc_auth.h types.h xdr.h auth_des.h) \
|
||||||
$(rpcsvc:%=rpcsvc/%)
|
$(rpcsvc:%=rpcsvc/%)
|
||||||
|
install-others = $(inst_sysconfdir)/rpc
|
||||||
ifeq (no,$(cross-compiling))
|
ifeq (no,$(cross-compiling))
|
||||||
headers += $(rpcsvc:%.x=rpcsvc/%.h)
|
headers += $(rpcsvc:%.x=rpcsvc/%.h)
|
||||||
|
install-others += $(inst_includedir)/rpcsvc/bootparam_prot.h
|
||||||
endif
|
endif
|
||||||
install-others = $(inst_includedir)/rpcsvc/bootparam_prot.h \
|
|
||||||
$(inst_sysconfdir)/rpc
|
|
||||||
generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c)
|
generated = $(rpcsvc:%.x=rpcsvc/%.h) $(rpcsvc:%.x=x%.c)
|
||||||
|
|
||||||
routines := auth_none auth_unix authuxprot bindrsvprt \
|
routines := auth_none auth_unix authuxprot bindrsvprt \
|
||||||
|
|
|
@ -54,7 +54,7 @@ extern struct rpcent *getrpcbyname __P ((__const char *__name));
|
||||||
extern struct rpcent *getrpcbynumber __P ((int __number));
|
extern struct rpcent *getrpcbynumber __P ((int __number));
|
||||||
extern struct rpcent *getrpcent __P ((void));
|
extern struct rpcent *getrpcent __P ((void));
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
#ifdef __USE_MISC
|
||||||
extern int getrpcbyname_r __P ((__const char *__name,
|
extern int getrpcbyname_r __P ((__const char *__name,
|
||||||
struct rpcent *__result_buf, char *__buffer,
|
struct rpcent *__result_buf, char *__buffer,
|
||||||
size_t __buflen, struct rpcent **__result));
|
size_t __buflen, struct rpcent **__result));
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* UFC-crypt: ultra fast crypt(3) implementation
|
* UFC-crypt: ultra fast crypt(3) implementation
|
||||||
*
|
*
|
||||||
* Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc.
|
* Copyright (C) 1991, 1992, 1993, 1996, 1997 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or
|
* This library is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU Library General Public
|
* modify it under the terms of the GNU Library General Public
|
||||||
|
@ -47,12 +47,10 @@ struct crypt_data
|
||||||
extern char *crypt __P ((__const char *__key, __const char *__salt));
|
extern char *crypt __P ((__const char *__key, __const char *__salt));
|
||||||
|
|
||||||
|
|
||||||
#ifdef __USE_REENTRANT
|
|
||||||
/* Reentrant versions of the functions above. The additional argument
|
/* Reentrant versions of the functions above. The additional argument
|
||||||
points to a structure where the results are placed in. */
|
points to a structure where the results are placed in. */
|
||||||
extern char *crypt_r __P ((__const char *__key, __const char *__salt,
|
extern char *crypt_r __P ((__const char *__key, __const char *__salt,
|
||||||
struct crypt_data *__data));
|
struct crypt_data *__data));
|
||||||
#endif /* reentrant */
|
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Startup code compliant to the ELF i386 ABI.
|
/* Startup code compliant to the ELF i386 ABI.
|
||||||
Copyright (C) 1995 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
/* This is the canonical entry point, usually the first thing in the text
|
/* This is the canonical entry point, usually the first thing in the text
|
||||||
segment. The SVR4/i386 ABI (pages 3-31, 3-32) says that when the entry
|
segment. The SVR4/i386 ABI (pages 3-31, 3-32) says that when the entry
|
||||||
|
@ -36,12 +36,12 @@ Cambridge, MA 02139, USA. */
|
||||||
NULL
|
NULL
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
.globl _start
|
.globl _start
|
||||||
_start:
|
_start:
|
||||||
/* Clear the frame pointer. The ABI suggests this be done, to mark
|
/* Clear the frame pointer. The ABI suggests this be done, to mark
|
||||||
the outermost frame obviously. */
|
the outermost frame obviously. */
|
||||||
movl $0, %ebp
|
xorl %ebp, %ebp
|
||||||
|
|
||||||
/* %edx contains the address of the shared library termination
|
/* %edx contains the address of the shared library termination
|
||||||
function, which we will register with `atexit' to be called by
|
function, which we will register with `atexit' to be called by
|
||||||
|
@ -53,7 +53,8 @@ _start:
|
||||||
jz nofini
|
jz nofini
|
||||||
pushl %edx
|
pushl %edx
|
||||||
call atexit
|
call atexit
|
||||||
addl $4, %esp
|
popl %eax /* Pop value to unused register to remove
|
||||||
|
argument from stack. */
|
||||||
nofini:
|
nofini:
|
||||||
|
|
||||||
/* Do essential libc initialization. In statically linked
|
/* Do essential libc initialization. In statically linked
|
||||||
|
@ -66,9 +67,15 @@ nofini:
|
||||||
popl %esi /* Pop the argument count. */
|
popl %esi /* Pop the argument count. */
|
||||||
leal 4(%esp,%esi,4), %eax /* envp = &argv[argc + 1] */
|
leal 4(%esp,%esi,4), %eax /* envp = &argv[argc + 1] */
|
||||||
movl %eax, _environ /* Store it in the global variable. */
|
movl %eax, _environ /* Store it in the global variable. */
|
||||||
|
movl %esp, %edx /* argv starts just at the current stack top.*/
|
||||||
|
|
||||||
|
/* Before pushing the arguments align the stack to a double word
|
||||||
|
boundary to avoid penalties from misaligned accesses. Thanks
|
||||||
|
to Edward Seidl <seidl@janed.com> for pointing this out. */
|
||||||
|
andl $0xfffffff8, %esp
|
||||||
|
|
||||||
pushl %eax /* Push third argument: envp. */
|
pushl %eax /* Push third argument: envp. */
|
||||||
leal 4(%esp), %eax /* argv starts just above that word. */
|
pushl %edx /* Push second argument: argv. */
|
||||||
pushl %eax /* Push second argument: argv. */
|
|
||||||
pushl %esi /* Push first argument: argc. */
|
pushl %esi /* Push first argument: argc. */
|
||||||
|
|
||||||
/* Call `_init', which is the entry point to our own `.init'
|
/* Call `_init', which is the entry point to our own `.init'
|
||||||
|
@ -77,13 +84,13 @@ nofini:
|
||||||
call _init
|
call _init
|
||||||
pushl $_fini
|
pushl $_fini
|
||||||
call atexit
|
call atexit
|
||||||
addl $4, %esp
|
popl %eax
|
||||||
|
|
||||||
/* Call the user's main function, and exit with its value. */
|
/* Call the user's main function, and exit with its value. */
|
||||||
call main
|
call main
|
||||||
pushl %eax
|
pushl %eax
|
||||||
call exit /* This should never return. */
|
call exit
|
||||||
hlt /* Crash if somehow it does return. */
|
hlt /* Crash if somehow `exit' does return. */
|
||||||
|
|
||||||
/* Define a symbol for the first piece of initialized data. */
|
/* Define a symbol for the first piece of initialized data. */
|
||||||
.data
|
.data
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
/* Initialization code run first thing by the ELF startup code. For i386/Unix.
|
/* Initialization code run first thing by the ELF startup code. For i386/Unix.
|
||||||
Copyright (C) 1995 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#include <stddef.h> /* For NULL. */
|
||||||
|
|
||||||
/* Set the mask of blocked signals to MASK,
|
/* Set the mask of blocked signals to MASK,
|
||||||
wait for a signal to arrive, and then restore the mask. */
|
wait for a signal to arrive, and then restore the mask. */
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* sigwait - implementation of sigwait function from POSIX.1c.
|
/* Implementation of sigwait function from POSIX.1c.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
#include <stddef.h> /* For NULL. */
|
||||||
|
|
||||||
/* This is our dummy signal handler we use here. */
|
/* This is our dummy signal handler we use here. */
|
||||||
static void ignore_signal (int sig);
|
static void ignore_signal (int sig);
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
/* Copyright (C) 1991, 92, 93, 94, 95, 96 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
modify it under the terms of the GNU Library General Public License as
|
modify it under the terms of the GNU Library General Public License as
|
||||||
published by the Free Software Foundation; either version 2 of the
|
published by the Free Software Foundation; either version 2 of the
|
||||||
License, or (at your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
The GNU C Library is distributed in the hope that it will be useful,
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
Library General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU Library General Public
|
You should have received a copy of the GNU Library General Public
|
||||||
License along with the GNU C Library; see the file COPYING.LIB. If
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
Cambridge, MA 02139, USA. */
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
#define _ERRNO_H
|
#define _ERRNO_H
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* errnos.h - error constants. Linux specific version.
|
/* Error constants. Linux specific version.
|
||||||
Copyright (C) 1996 Free Software Foundation, Inc.
|
Copyright (C) 1996, 1997 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -43,7 +43,7 @@ __set_errno (int __err)
|
||||||
# endif /* _LIBC_REENTRANT */
|
# endif /* _LIBC_REENTRANT */
|
||||||
# endif /* _LIBC */
|
# endif /* _LIBC */
|
||||||
|
|
||||||
# if defined __USE_REENTRANT && (!defined _LIBC || defined _LIBC_REENTRANT)
|
# if !defined _LIBC || defined _LIBC_REENTRANT
|
||||||
/* When using threads, errno is a per-thread value. */
|
/* When using threads, errno is a per-thread value. */
|
||||||
# define errno (*__errno_location ())
|
# define errno (*__errno_location ())
|
||||||
# endif
|
# endif
|
||||||
|
|
|
@ -171,7 +171,7 @@ extern struct tm *gmtime __P ((__const time_t *__timer));
|
||||||
of *TIMER in the local timezone. */
|
of *TIMER in the local timezone. */
|
||||||
extern struct tm *localtime __P ((__const time_t *__timer));
|
extern struct tm *localtime __P ((__const time_t *__timer));
|
||||||
|
|
||||||
#if defined __USE_POSIX || defined __USE_REENTRANT
|
#if defined __USE_POSIX || defined __USE_MISC
|
||||||
/* Return the `struct tm' representation of *TIMER in UTC,
|
/* Return the `struct tm' representation of *TIMER in UTC,
|
||||||
using *TP to store the result. */
|
using *TP to store the result. */
|
||||||
extern struct tm *__gmtime_r __P ((__const time_t *__timer,
|
extern struct tm *__gmtime_r __P ((__const time_t *__timer,
|
||||||
|
@ -185,7 +185,7 @@ extern struct tm *__localtime_r __P ((__const time_t *__timer,
|
||||||
struct tm *__tp));
|
struct tm *__tp));
|
||||||
extern struct tm *localtime_r __P ((__const time_t *__timer,
|
extern struct tm *localtime_r __P ((__const time_t *__timer,
|
||||||
struct tm *__tp));
|
struct tm *__tp));
|
||||||
#endif /* POSIX or reentrant */
|
#endif /* POSIX or misc */
|
||||||
|
|
||||||
/* Compute the `struct tm' representation of *T,
|
/* Compute the `struct tm' representation of *T,
|
||||||
offset OFFSET seconds east of UTC,
|
offset OFFSET seconds east of UTC,
|
||||||
|
@ -201,7 +201,7 @@ extern char *asctime __P ((__const struct tm *__tp));
|
||||||
/* Equivalent to `asctime (localtime (timer))'. */
|
/* Equivalent to `asctime (localtime (timer))'. */
|
||||||
extern char *ctime __P ((__const time_t *__timer));
|
extern char *ctime __P ((__const time_t *__timer));
|
||||||
|
|
||||||
#if defined __USE_POSIX || defined __USE_REENTRANT
|
#if defined __USE_POSIX || defined __USE_MISC
|
||||||
/* Reentrant versions of the above functions. */
|
/* Reentrant versions of the above functions. */
|
||||||
|
|
||||||
/* Return in BUF a string of the form "Day Mon dd hh:mm:ss yyyy\n"
|
/* Return in BUF a string of the form "Day Mon dd hh:mm:ss yyyy\n"
|
||||||
|
@ -211,7 +211,7 @@ extern char *asctime_r __P ((__const struct tm *__tp, char *__buf));
|
||||||
|
|
||||||
/* Equivalent to `asctime_r (localtime_r (timer, *TMP*), buf)'. */
|
/* Equivalent to `asctime_r (localtime_r (timer, *TMP*), buf)'. */
|
||||||
extern char *ctime_r __P ((__const time_t *__timer, char *__buf));
|
extern char *ctime_r __P ((__const time_t *__timer, char *__buf));
|
||||||
#endif /* POSIX or reentrant */
|
#endif /* POSIX or misc */
|
||||||
|
|
||||||
|
|
||||||
/* Defined in localtime.c. */
|
/* Defined in localtime.c. */
|
||||||
|
|
Loading…
Reference in New Issue