mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
update from main archive 961114
This commit is contained in:
@ -12,9 +12,9 @@
|
|||||||
# 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.
|
||||||
|
|
||||||
#
|
#
|
||||||
# Common rules for making the GNU C library. This file is included
|
# Common rules for making the GNU C library. This file is included
|
||||||
@ -26,9 +26,10 @@ This makefile requires GNU Make.
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
REQUIRED_MAKE_VERSION = 3.74
|
REQUIRED_MAKE_VERSION = 3.74
|
||||||
|
REAL_MAKE_VERSION = $(shell echo "$(MAKE_VERSION)" | sed 's/ .*//')
|
||||||
|
|
||||||
ifneq ($(REQUIRED_MAKE_VERSION), \
|
ifneq ($(REQUIRED_MAKE_VERSION), \
|
||||||
$(firstword $(sort $(MAKE_VERSION) $(REQUIRED_MAKE_VERSION))))
|
$(firstword $(sort $(REAL_MAKE_VERSION) $(REQUIRED_MAKE_VERSION))))
|
||||||
Wrong GNU Make version. See above for the version needed.
|
Wrong GNU Make version. See above for the version needed.
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -201,7 +201,7 @@ delete: if (__bt_dleaf(t, key, h, index) == RET_ERROR) {
|
|||||||
* into the offset array, shift the pointers up.
|
* into the offset array, shift the pointers up.
|
||||||
*/
|
*/
|
||||||
nbytes = NBLEAFDBT(key->size, data->size);
|
nbytes = NBLEAFDBT(key->size, data->size);
|
||||||
if (h->upper - h->lower < nbytes + sizeof(indx_t)) {
|
if ((u_int32_t) (h->upper - h->lower) < nbytes + sizeof(indx_t)) {
|
||||||
if ((status = __bt_split(t, h, key,
|
if ((status = __bt_split(t, h, key,
|
||||||
data, dflags, nbytes, index)) != RET_SUCCESS)
|
data, dflags, nbytes, index)) != RET_SUCCESS)
|
||||||
return (status);
|
return (status);
|
||||||
@ -284,7 +284,7 @@ bt_fast(t, key, data, exactp)
|
|||||||
* have to search to get split stack.
|
* have to search to get split stack.
|
||||||
*/
|
*/
|
||||||
nbytes = NBLEAFDBT(key->size, data->size);
|
nbytes = NBLEAFDBT(key->size, data->size);
|
||||||
if (h->upper - h->lower < nbytes + sizeof(indx_t))
|
if ((u_int32_t) (h->upper - h->lower) < nbytes + sizeof(indx_t))
|
||||||
goto miss;
|
goto miss;
|
||||||
|
|
||||||
if (t->bt_order == FORWARD) {
|
if (t->bt_order == FORWARD) {
|
||||||
|
@ -215,7 +215,8 @@ __bt_split(t, sp, key, data, flags, ilen, argskip)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Split the parent page if necessary or shift the indices. */
|
/* Split the parent page if necessary or shift the indices. */
|
||||||
if (h->upper - h->lower < nbytes + sizeof(indx_t)) {
|
if ((u_int32_t) (h->upper - h->lower)
|
||||||
|
< nbytes + sizeof(indx_t)) {
|
||||||
sp = h;
|
sp = h;
|
||||||
h = h->pgno == P_ROOT ?
|
h = h->pgno == P_ROOT ?
|
||||||
bt_root(t, h, &l, &r, &skip, nbytes) :
|
bt_root(t, h, &l, &r, &skip, nbytes) :
|
||||||
|
@ -157,7 +157,8 @@ __hash_open(file, flags, mode, info, dflags)
|
|||||||
if (hashp->VERSION != HASHVERSION &&
|
if (hashp->VERSION != HASHVERSION &&
|
||||||
hashp->VERSION != OLDHASHVERSION)
|
hashp->VERSION != OLDHASHVERSION)
|
||||||
RETURN_ERROR(EFTYPE, error1);
|
RETURN_ERROR(EFTYPE, error1);
|
||||||
if (hashp->hash(CHARKEY, sizeof(CHARKEY)) != hashp->H_CHARKEY)
|
if (hashp->hash(CHARKEY, sizeof(CHARKEY))
|
||||||
|
!= (u_int32_t) hashp->H_CHARKEY)
|
||||||
RETURN_ERROR(EFTYPE, error1);
|
RETURN_ERROR(EFTYPE, error1);
|
||||||
/*
|
/*
|
||||||
* Figure out how many segments we need. Max_Bucket is the
|
* Figure out how many segments we need. Max_Bucket is the
|
||||||
@ -744,7 +745,7 @@ hash_seq(dbp, key, data, flag)
|
|||||||
for (bp = NULL; !bp || !bp[0]; ) {
|
for (bp = NULL; !bp || !bp[0]; ) {
|
||||||
if (!(bufp = hashp->cpage)) {
|
if (!(bufp = hashp->cpage)) {
|
||||||
for (bucket = hashp->cbucket;
|
for (bucket = hashp->cbucket;
|
||||||
bucket <= hashp->MAX_BUCKET;
|
bucket <= (u_int32_t) hashp->MAX_BUCKET;
|
||||||
bucket++, hashp->cndx = 1) {
|
bucket++, hashp->cndx = 1) {
|
||||||
bufp = __get_buf(hashp, bucket, NULL, 0);
|
bufp = __get_buf(hashp, bucket, NULL, 0);
|
||||||
if (!bufp)
|
if (!bufp)
|
||||||
@ -848,7 +849,7 @@ __expand_table(hashp)
|
|||||||
hashp->OVFL_POINT = spare_ndx;
|
hashp->OVFL_POINT = spare_ndx;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (new_bucket > hashp->HIGH_MASK) {
|
if (new_bucket > (u_int32_t) hashp->HIGH_MASK) {
|
||||||
/* Starting a new doubling */
|
/* Starting a new doubling */
|
||||||
hashp->LOW_MASK = hashp->HIGH_MASK;
|
hashp->LOW_MASK = hashp->HIGH_MASK;
|
||||||
hashp->HIGH_MASK = new_bucket | hashp->LOW_MASK;
|
hashp->HIGH_MASK = new_bucket | hashp->LOW_MASK;
|
||||||
|
@ -147,7 +147,7 @@ __big_insert(hashp, bufp, key, val)
|
|||||||
* Here's the hack to make sure that if the data ends on the
|
* Here's the hack to make sure that if the data ends on the
|
||||||
* same page as the key ends, FREESPACE is at least one.
|
* same page as the key ends, FREESPACE is at least one.
|
||||||
*/
|
*/
|
||||||
if (space == val_size && val_size == val->size)
|
if ((int) space == val_size && (size_t) val_size == val->size)
|
||||||
move_bytes--;
|
move_bytes--;
|
||||||
off = OFFSET(p) - move_bytes;
|
off = OFFSET(p) - move_bytes;
|
||||||
memmove(cp + off, val_data, move_bytes);
|
memmove(cp + off, val_data, move_bytes);
|
||||||
@ -431,7 +431,7 @@ __big_return(hashp, bufp, ndx, val, set_current)
|
|||||||
}
|
}
|
||||||
|
|
||||||
val->size = collect_data(hashp, bufp, (int)len, set_current);
|
val->size = collect_data(hashp, bufp, (int)len, set_current);
|
||||||
if (val->size == -1)
|
if (val->size == (size_t) -1)
|
||||||
return (-1);
|
return (-1);
|
||||||
if (save_p->addr != save_addr) {
|
if (save_p->addr != save_addr) {
|
||||||
/* We are pretty short on buffers. */
|
/* We are pretty short on buffers. */
|
||||||
@ -510,7 +510,7 @@ __big_keydata(hashp, bufp, key, val, set)
|
|||||||
int set;
|
int set;
|
||||||
{
|
{
|
||||||
key->size = collect_key(hashp, bufp, 0, val, set);
|
key->size = collect_key(hashp, bufp, 0, val, set);
|
||||||
if (key->size == -1)
|
if (key->size == (size_t) -1)
|
||||||
return (-1);
|
return (-1);
|
||||||
key->data = (u_char *)hashp->tmp_key;
|
key->data = (u_char *)hashp->tmp_key;
|
||||||
return (0);
|
return (0);
|
||||||
|
@ -205,7 +205,8 @@ mpool_get(mp, pgno, flags)
|
|||||||
off = mp->pagesize * pgno;
|
off = mp->pagesize * pgno;
|
||||||
if (lseek(mp->fd, off, SEEK_SET) != off)
|
if (lseek(mp->fd, off, SEEK_SET) != off)
|
||||||
return (NULL);
|
return (NULL);
|
||||||
if ((nr = read(mp->fd, bp->page, mp->pagesize)) != mp->pagesize) {
|
if ((u_long) (nr = read(mp->fd, bp->page, mp->pagesize))
|
||||||
|
!= mp->pagesize) {
|
||||||
if (nr >= 0)
|
if (nr >= 0)
|
||||||
errno = EFTYPE;
|
errno = EFTYPE;
|
||||||
return (NULL);
|
return (NULL);
|
||||||
@ -380,7 +381,7 @@ mpool_write(mp, bp)
|
|||||||
off = mp->pagesize * bp->pgno;
|
off = mp->pagesize * bp->pgno;
|
||||||
if (lseek(mp->fd, off, SEEK_SET) != off)
|
if (lseek(mp->fd, off, SEEK_SET) != off)
|
||||||
return (RET_ERROR);
|
return (RET_ERROR);
|
||||||
if (write(mp->fd, bp->page, mp->pagesize) != mp->pagesize)
|
if ((u_long) write(mp->fd, bp->page, mp->pagesize) != mp->pagesize)
|
||||||
return (RET_ERROR);
|
return (RET_ERROR);
|
||||||
|
|
||||||
bp->flags &= ~MPOOL_DIRTY;
|
bp->flags &= ~MPOOL_DIRTY;
|
||||||
|
@ -150,7 +150,7 @@ __rec_sync(dbp, flags)
|
|||||||
*/
|
*/
|
||||||
status = (dbp->seq)(dbp, &key, &data, R_FIRST);
|
status = (dbp->seq)(dbp, &key, &data, R_FIRST);
|
||||||
while (status == RET_SUCCESS) {
|
while (status == RET_SUCCESS) {
|
||||||
if (write(t->bt_rfd, data.data, data.size) != data.size)
|
if ((size_t) write(t->bt_rfd, data.data, data.size) != data.size)
|
||||||
return (RET_ERROR);
|
return (RET_ERROR);
|
||||||
status = (dbp->seq)(dbp, &key, &data, R_NEXT);
|
status = (dbp->seq)(dbp, &key, &data, R_NEXT);
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@ __rec_sync(dbp, flags)
|
|||||||
while (status == RET_SUCCESS) {
|
while (status == RET_SUCCESS) {
|
||||||
iov[0].iov_base = data.data;
|
iov[0].iov_base = data.data;
|
||||||
iov[0].iov_len = data.size;
|
iov[0].iov_len = data.size;
|
||||||
if (writev(t->bt_rfd, iov, 2) != data.size + 1)
|
if ((size_t) writev(t->bt_rfd, iov, 2) != data.size + 1)
|
||||||
return (RET_ERROR);
|
return (RET_ERROR);
|
||||||
status = (dbp->seq)(dbp, &key, &data, R_NEXT);
|
status = (dbp->seq)(dbp, &key, &data, R_NEXT);
|
||||||
}
|
}
|
||||||
|
@ -256,7 +256,7 @@ __rec_iput(t, nrec, data, flags)
|
|||||||
* the offset array, shift the pointers up.
|
* the offset array, shift the pointers up.
|
||||||
*/
|
*/
|
||||||
nbytes = NRLEAFDBT(data->size);
|
nbytes = NRLEAFDBT(data->size);
|
||||||
if (h->upper - h->lower < nbytes + sizeof(indx_t)) {
|
if ((u_int32_t) (h->upper - h->lower) < nbytes + sizeof(indx_t)) {
|
||||||
status = __bt_split(t, h, NULL, data, dflags, nbytes, index);
|
status = __bt_split(t, h, NULL, data, dflags, nbytes, index);
|
||||||
if (status == RET_SUCCESS)
|
if (status == RET_SUCCESS)
|
||||||
++t->bt_nrecs;
|
++t->bt_nrecs;
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* POSIX Standard: 5.1.2 Directory Operations <dirent.h>
|
* POSIX Standard: 5.1.2 Directory Operations <dirent.h>
|
||||||
|
15
elf/elf.h
15
elf/elf.h
@ -1,8 +1,7 @@
|
|||||||
/* This file defines standard ELF types, structures, and macros.
|
/* This file defines standard ELF types, structures, and macros.
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||||
Contributed by Ian Lance Taylor (ian@cygnus.com).
|
|
||||||
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
Contributed by Ian Lance Taylor <ian@cygnus.com>.
|
||||||
|
|
||||||
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
|
||||||
@ -15,13 +14,16 @@ 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. */
|
||||||
|
|
||||||
#ifndef _ELF_H
|
#ifndef _ELF_H
|
||||||
#define _ELF_H 1
|
|
||||||
|
|
||||||
|
#define _ELF_H 1
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Standard ELF types. Using __attribute__ mode ensures that GCC
|
/* Standard ELF types. Using __attribute__ mode ensures that GCC
|
||||||
will choose the right number of bits for these types. */
|
will choose the right number of bits for these types. */
|
||||||
@ -773,5 +775,6 @@ typedef Elf32_Addr Elf32_Conflict;
|
|||||||
#define R_ALPHA_JMP_SLOT 26 /* Create PLT entry */
|
#define R_ALPHA_JMP_SLOT 26 /* Create PLT entry */
|
||||||
#define R_ALPHA_RELATIVE 27 /* Adjust by program base */
|
#define R_ALPHA_RELATIVE 27 /* Adjust by program base */
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* elf.h */
|
#endif /* elf.h */
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _LINK_H
|
#ifndef _LINK_H
|
||||||
#define _LINK_H 1
|
#define _LINK_H 1
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1996 Free Software Foundation, Inc.
|
||||||
Contributed by David Mosberger (davidm@cs.arizona.edu).
|
|
||||||
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
Contributed by David Mosberger <davidm@cs.arizona.edu>.
|
||||||
|
|
||||||
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
|
||||||
@ -14,9 +13,9 @@ 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 file specifies the format of gmon.out files. It should have
|
/* This file specifies the format of gmon.out files. It should have
|
||||||
as few external dependencies as possible as it is going to be included
|
as few external dependencies as possible as it is going to be included
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Header with interface version macros for library pieces copied elsewhere.
|
/* Header with interface version macros for library pieces copied elsewhere.
|
||||||
Copyright (C) 1995 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
|
||||||
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _GNU_VERSIONS_H
|
#ifndef _GNU_VERSIONS_H
|
||||||
#define _GNU_VERSIONS_H 1
|
#define _GNU_VERSIONS_H 1
|
||||||
|
@ -17,9 +17,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _LIBINTL_H
|
#ifndef _LIBINTL_H
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* POSIX Standard: 6.5 File Control Operations <fcntl.h>
|
* POSIX Standard: 6.5 File Control Operations <fcntl.h>
|
||||||
@ -59,7 +59,7 @@ extern int open __P ((__const char *__file, int __oflag, ...));
|
|||||||
what `mode_t' will be widened to. */
|
what `mode_t' will be widened to. */
|
||||||
extern int creat __P ((__const char *__file, __mode_t __mode));
|
extern int creat __P ((__const char *__file, __mode_t __mode));
|
||||||
|
|
||||||
#if defined (__USE_MISC) && !defined (F_LOCK)
|
#if !defined(F_LOCK) && (defined(__USE_MISC) || defined(__USE_XOPEN_EXTENDED))
|
||||||
/* NOTE: These declarations also appear in <unistd.h>; be sure to keep both
|
/* NOTE: These declarations also appear in <unistd.h>; be sure to keep both
|
||||||
files consistent. Some systems have them there and some here, and some
|
files consistent. Some systems have them there and some here, and some
|
||||||
software depends on the macros being defined without including both. */
|
software depends on the macros being defined without including both. */
|
||||||
|
10
io/ftw.h
10
io/ftw.h
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1992 Free Software Foundation, Inc.
|
/* Copyright (C) 1992, 1996 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ian Lance Taylor (ian@airs.com).
|
Contributed by Ian Lance Taylor (ian@airs.com).
|
||||||
|
|
||||||
@ -13,12 +13,12 @@ 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. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SVID ftw.h
|
* X/Open Portability Guide 4.2: ftw.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _FTW_H
|
#ifndef _FTW_H
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_STATFS_H
|
#ifndef _SYS_STATFS_H
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* POSIX Standard: 5.6.6 Set File Access and Modification Times <utime.h>
|
* POSIX Standard: 5.6.6 Set File Access and Modification Times <utime.h>
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _LANGINFO_H
|
#ifndef _LANGINFO_H
|
||||||
#define _LANGINFO_H 1
|
#define _LANGINFO_H 1
|
||||||
|
@ -33,6 +33,18 @@ print_widget (FILE *stream, const struct printf_info *info, va_list *app)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int
|
||||||
|
print_widget_arginfo (const struct printf_info *info, size_t n,
|
||||||
|
int *argtypes)
|
||||||
|
{
|
||||||
|
/* We always take exactly one argument and this is a pointer to the
|
||||||
|
structure.. */
|
||||||
|
if (n > 0)
|
||||||
|
argtypes[0] = PA_POINTER;
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
int
|
int
|
||||||
main (void)
|
main (void)
|
||||||
{
|
{
|
||||||
@ -41,7 +53,7 @@ main (void)
|
|||||||
mywidget.name = "mywidget";
|
mywidget.name = "mywidget";
|
||||||
|
|
||||||
/* Register the print function for widgets. */
|
/* Register the print function for widgets. */
|
||||||
register_printf_function ('W', print_widget, NULL); /* No arginfo. */
|
register_printf_function ('W', print_widget, print_widget_arginfo);
|
||||||
|
|
||||||
/* Now print the widget. */
|
/* Now print the widget. */
|
||||||
printf ("|%W|\n", &mywidget);
|
printf ("|%W|\n", &mywidget);
|
||||||
|
@ -1943,9 +1943,19 @@ The @var{arginfo-function} is the function called by
|
|||||||
template string. @xref{Parsing a Template String}, for information
|
template string. @xref{Parsing a Template String}, for information
|
||||||
about this.
|
about this.
|
||||||
|
|
||||||
Normally, you install both functions for a conversion at the same time,
|
@c The following is not true anymore. The `parse_printf_format' function
|
||||||
but if you are never going to call @code{parse_printf_format}, you do
|
@c is now also called from `vfprintf' via `parse_one_spec'.
|
||||||
not need to define an arginfo function.
|
@c --drepper@gnu, 1996/11/14
|
||||||
|
@c
|
||||||
|
@c Normally, you install both functions for a conversion at the same time,
|
||||||
|
@c but if you are never going to call @code{parse_printf_format}, you do
|
||||||
|
@c not need to define an arginfo function.
|
||||||
|
|
||||||
|
@strong{Attention:} In the GNU C library version before 2.0 the
|
||||||
|
@var{arginfo-function} function did not need to be installed unless
|
||||||
|
the user uses the @code{parse_printf_format} function. This changed.
|
||||||
|
Now a call to any of the @code{printf} functions will call this
|
||||||
|
function when this format specifier appears in the format string.
|
||||||
|
|
||||||
The return value is @code{0} on success, and @code{-1} on failure
|
The return value is @code{0} on success, and @code{-1} on failure
|
||||||
(which occurs if @var{spec} is out of range).
|
(which occurs if @var{spec} is out of range).
|
||||||
@ -1995,7 +2005,7 @@ actual value retrieved from the argument list. But the structure passed
|
|||||||
to the arginfo function contains a value of @code{INT_MIN}, since the
|
to the arginfo function contains a value of @code{INT_MIN}, since the
|
||||||
actual value is not known.
|
actual value is not known.
|
||||||
|
|
||||||
@item char spec
|
@item wchar_t spec
|
||||||
This is the conversion specifier character specified. It's stored in
|
This is the conversion specifier character specified. It's stored in
|
||||||
the structure so that you can register the same handler function for
|
the structure so that you can register the same handler function for
|
||||||
multiple characters, but still have a way to tell them apart when the
|
multiple characters, but still have a way to tell them apart when the
|
||||||
@ -2028,7 +2038,13 @@ This is a boolean that is true if the @samp{+} flag was specified.
|
|||||||
@item unsigned int group
|
@item unsigned int group
|
||||||
This is a boolean that is true if the @samp{'} flag was specified.
|
This is a boolean that is true if the @samp{'} flag was specified.
|
||||||
|
|
||||||
@item char pad
|
@item unsigned int extra
|
||||||
|
This flag has a special meaning depending on the context. It could
|
||||||
|
be used freely by the user-defined handlers but when called from
|
||||||
|
the @code{printf} function this variable always contains the value
|
||||||
|
@code{0}.
|
||||||
|
|
||||||
|
@item wchar_t pad
|
||||||
This is the character to use for padding the output to the minimum field
|
This is the character to use for padding the output to the minimum field
|
||||||
width. The value is @code{'0'} if the @samp{0} flag was specified, and
|
width. The value is @code{'0'} if the @samp{0} flag was specified, and
|
||||||
@code{' '} otherwise.
|
@code{' '} otherwise.
|
||||||
@ -2042,32 +2058,42 @@ width. The value is @code{'0'} if the @samp{0} flag was specified, and
|
|||||||
Now let's look at how to define the handler and arginfo functions
|
Now let's look at how to define the handler and arginfo functions
|
||||||
which are passed as arguments to @code{register_printf_function}.
|
which are passed as arguments to @code{register_printf_function}.
|
||||||
|
|
||||||
|
@strong{Compatibility Note:} The interface change in the GNU libc
|
||||||
|
version 2.0. Previously the third argument was of type
|
||||||
|
@code{va_list *}.
|
||||||
|
|
||||||
You should define your handler functions with a prototype like:
|
You should define your handler functions with a prototype like:
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
int @var{function} (FILE *stream, const struct printf_info *info,
|
int @var{function} (FILE *stream, const struct printf_info *info,
|
||||||
va_list *ap_pointer)
|
const void *const *args)
|
||||||
@end smallexample
|
@end smallexample
|
||||||
|
|
||||||
The @code{stream} argument passed to the handler function is the stream to
|
The @var{stream} argument passed to the handler function is the stream to
|
||||||
which it should write output.
|
which it should write output.
|
||||||
|
|
||||||
The @code{info} argument is a pointer to a structure that contains
|
The @var{info} argument is a pointer to a structure that contains
|
||||||
information about the various options that were included with the
|
information about the various options that were included with the
|
||||||
conversion in the template string. You should not modify this structure
|
conversion in the template string. You should not modify this structure
|
||||||
inside your handler function. @xref{Conversion Specifier Options}, for
|
inside your handler function. @xref{Conversion Specifier Options}, for
|
||||||
a description of this data structure.
|
a description of this data structure.
|
||||||
|
|
||||||
The @code{ap_pointer} argument is used to pass the tail of the variable
|
@c The following changes some time back. --drepper@gnu, 1996/11/14
|
||||||
argument list containing the values to be printed to your handler.
|
@c
|
||||||
Unlike most other functions that can be passed an explicit variable
|
@c The @code{ap_pointer} argument is used to pass the tail of the variable
|
||||||
argument list, this is a @emph{pointer} to a @code{va_list}, rather than
|
@c argument list containing the values to be printed to your handler.
|
||||||
the @code{va_list} itself. Thus, you should fetch arguments by
|
@c Unlike most other functions that can be passed an explicit variable
|
||||||
means of @code{va_arg (*ap_pointer, @var{type})}.
|
@c argument list, this is a @emph{pointer} to a @code{va_list}, rather than
|
||||||
|
@c the @code{va_list} itself. Thus, you should fetch arguments by
|
||||||
|
@c means of @code{va_arg (*ap_pointer, @var{type})}.
|
||||||
|
@c
|
||||||
|
@c (Passing a pointer here allows the function that calls your handler
|
||||||
|
@c function to update its own @code{va_list} variable to account for the
|
||||||
|
@c arguments that your handler processes. @xref{Variadic Functions}.)
|
||||||
|
|
||||||
(Passing a pointer here allows the function that calls your handler
|
The @var{args} is a vector of pointers to the arguments data.
|
||||||
function to update its own @code{va_list} variable to account for the
|
The number of arguments were determined by calling the argument
|
||||||
arguments that your handler processes. @xref{Variadic Functions}.)
|
information function provided by the user.
|
||||||
|
|
||||||
Your handler function should return a value just like @code{printf}
|
Your handler function should return a value just like @code{printf}
|
||||||
does: it should return the number of characters it has written, or a
|
does: it should return the number of characters it has written, or a
|
||||||
@ -2080,11 +2106,11 @@ This is the data type that a handler function should have.
|
|||||||
@end deftp
|
@end deftp
|
||||||
|
|
||||||
If you are going to use @w{@code{parse_printf_format}} in your
|
If you are going to use @w{@code{parse_printf_format}} in your
|
||||||
application, you should also define a function to pass as the
|
application, you must also define a function to pass as the
|
||||||
@var{arginfo-function} argument for each new conversion you install with
|
@var{arginfo-function} argument for each new conversion you install with
|
||||||
@code{register_printf_function}.
|
@code{register_printf_function}.
|
||||||
|
|
||||||
You should define these functions with a prototype like:
|
You have to define these functions with a prototype like:
|
||||||
|
|
||||||
@smallexample
|
@smallexample
|
||||||
int @var{function} (const struct printf_info *info,
|
int @var{function} (const struct printf_info *info,
|
||||||
|
12
misc/ar.h
12
misc/ar.h
@ -13,12 +13,14 @@ 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. */
|
||||||
|
|
||||||
#ifndef _AR_H
|
#ifndef _AR_H
|
||||||
|
|
||||||
#define _AR_H 1
|
#define _AR_H 1
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
/* Archive files start with the ARMAG identifying string. Then follows a
|
/* Archive files start with the ARMAG identifying string. Then follows a
|
||||||
`struct ar_hdr', and as many bytes of member file data as its `ar_size'
|
`struct ar_hdr', and as many bytes of member file data as its `ar_size'
|
||||||
@ -29,6 +31,8 @@ Cambridge, MA 02139, USA. */
|
|||||||
|
|
||||||
#define ARFMAG "`\n" /* String in ar_fmag at end of each header. */
|
#define ARFMAG "`\n" /* String in ar_fmag at end of each header. */
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
struct ar_hdr
|
struct ar_hdr
|
||||||
{
|
{
|
||||||
char ar_name[16]; /* Member file name, sometimes / terminated. */
|
char ar_name[16]; /* Member file name, sometimes / terminated. */
|
||||||
@ -39,4 +43,6 @@ struct ar_hdr
|
|||||||
char ar_fmag[2]; /* Always contains ARFMAG. */
|
char ar_fmag[2]; /* Always contains ARFMAG. */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* ar.h */
|
#endif /* ar.h */
|
||||||
|
16
misc/error.h
16
misc/error.h
@ -1,5 +1,5 @@
|
|||||||
/* error.h -- declaration for error-reporting function
|
/* error.h -- declaration for error-reporting function
|
||||||
Copyright (C) 1995, 1996 Software Foundation, Inc.
|
Copyright (C) 1995, 1996 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.
|
||||||
@ -15,9 +15,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _error_h_
|
#ifndef _error_h_
|
||||||
#define _error_h_
|
#define _error_h_
|
||||||
@ -35,6 +35,10 @@ Cambridge, MA 02139, USA. */
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined (__STDC__) && __STDC__
|
#if defined (__STDC__) && __STDC__
|
||||||
|
|
||||||
/* Print a message with `fprintf (stderr, FORMAT, ...)';
|
/* Print a message with `fprintf (stderr, FORMAT, ...)';
|
||||||
@ -66,4 +70,8 @@ extern unsigned int error_message_count;
|
|||||||
variable controls whether this mode is selected or not. */
|
variable controls whether this mode is selected or not. */
|
||||||
extern int error_one_per_line;
|
extern int error_one_per_line;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _error_h_ */
|
#endif /* _error_h_ */
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _MNTENT_H
|
#ifndef _MNTENT_H
|
||||||
#define _MNTENT_H 1
|
#define _MNTENT_H 1
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SGTTY_H
|
#ifndef _SGTTY_H
|
||||||
#define _SGTYY_H 1
|
#define _SGTYY_H 1
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_CDEFS_H
|
#ifndef _SYS_CDEFS_H
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 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
|
||||||
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_DIR_H
|
#ifndef _SYS_DIR_H
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_FILE_H
|
#ifndef _SYS_FILE_H
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_IOCTL_H
|
#ifndef _SYS_IOCTL_H
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@ 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 interface is obsolete. Use <sys/statfs.h> instead. */
|
/* This interface is obsolete. Use <sys/statfs.h> instead. */
|
||||||
|
|
||||||
|
@ -56,7 +56,7 @@
|
|||||||
/* Sometimes we need to store error codes in the `h_errno' variable. */
|
/* Sometimes we need to store error codes in the `h_errno' variable. */
|
||||||
#ifdef NEED_H_ERRNO
|
#ifdef NEED_H_ERRNO
|
||||||
# define H_ERRNO_PARM , int *h_errnop
|
# define H_ERRNO_PARM , int *h_errnop
|
||||||
# define H_ERRNO_VAR , &h_errno
|
# define H_ERRNO_VAR , &h_errno_tmp
|
||||||
#else
|
#else
|
||||||
# define H_ERRNO_PARM
|
# define H_ERRNO_PARM
|
||||||
# define H_ERRNO_VAR
|
# define H_ERRNO_VAR
|
||||||
@ -80,6 +80,9 @@ FUNCTION_NAME (ADD_PARAMS)
|
|||||||
static LOOKUP_TYPE resbuf;
|
static LOOKUP_TYPE resbuf;
|
||||||
LOOKUP_TYPE *result;
|
LOOKUP_TYPE *result;
|
||||||
int save;
|
int save;
|
||||||
|
#ifdef NEED_H_ERRNO
|
||||||
|
int h_errno_tmp = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Get lock. */
|
/* Get lock. */
|
||||||
__libc_lock_lock (lock);
|
__libc_lock_lock (lock);
|
||||||
@ -110,5 +113,10 @@ FUNCTION_NAME (ADD_PARAMS)
|
|||||||
__libc_lock_unlock (lock);
|
__libc_lock_unlock (lock);
|
||||||
__set_errno (save);
|
__set_errno (save);
|
||||||
|
|
||||||
|
#ifdef NEED_H_ERRNO
|
||||||
|
if (h_errno_tmp != 0)
|
||||||
|
__set_h_errno (h_errno_tmp);
|
||||||
|
#endif
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -262,13 +262,15 @@ INTERNAL (REENTRANT_GETNAME) (LOOKUP_TYPE *resbuf, char *buffer, size_t buflen,
|
|||||||
|
|
||||||
if (! no_more)
|
if (! no_more)
|
||||||
status = (*sfct) (STAYOPEN_TMPVAR);
|
status = (*sfct) (STAYOPEN_TMPVAR);
|
||||||
|
else
|
||||||
|
status = NSS_STATUS_NOTFOUND;
|
||||||
}
|
}
|
||||||
while (! no_more && status != NSS_STATUS_SUCCESS);
|
while (! no_more && status != NSS_STATUS_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
__libc_lock_unlock (lock);
|
__libc_lock_unlock (lock);
|
||||||
|
|
||||||
*result = NSS_STATUS_SUCCESS ? resbuf : NULL;
|
*result = status == NSS_STATUS_SUCCESS ? resbuf : NULL;
|
||||||
return status == NSS_STATUS_SUCCESS ? 0 : -1;
|
return status == NSS_STATUS_SUCCESS ? 0 : -1;
|
||||||
}
|
}
|
||||||
#define do_weak_alias(n1, n2) weak_alias (n1, n2)
|
#define do_weak_alias(n1, n2) weak_alias (n1, n2)
|
||||||
|
@ -201,7 +201,7 @@ CONCAT(_nss_files_get,ENTNAME_r) (struct STRUCTURE *result,
|
|||||||
if (stream == NULL)
|
if (stream == NULL)
|
||||||
status = internal_setent (0);
|
status = internal_setent (0);
|
||||||
|
|
||||||
if (status != NSS_STATUS_SUCCESS)
|
if (status == NSS_STATUS_SUCCESS)
|
||||||
{
|
{
|
||||||
/* If the last use was not by the getent function we need the
|
/* If the last use was not by the getent function we need the
|
||||||
position the stream. */
|
position the stream. */
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
#include <aliases.h>
|
#include <aliases.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <libc-lock.h>
|
#include <libc-lock.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -1,19 +1,20 @@
|
|||||||
/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc.
|
||||||
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
This 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.
|
||||||
|
|
||||||
This 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 this 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. */
|
||||||
|
|
||||||
#ifndef _FNMATCH_H
|
#ifndef _FNMATCH_H
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Declarations for getopt.
|
/* Declarations for getopt.
|
||||||
Copyright (C) 1989, 90, 91, 92, 93, 94 Free Software Foundation, Inc.
|
Copyright (C) 1989, 90, 91, 92, 93, 94, 96 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.
|
||||||
@ -15,9 +15,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _GETOPT_H
|
#ifndef _GETOPT_H
|
||||||
#define _GETOPT_H 1
|
#define _GETOPT_H 1
|
||||||
|
13
posix/glob.h
13
posix/glob.h
@ -1,19 +1,22 @@
|
|||||||
/* Copyright (C) 1991, 1992, 1995, 1996 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 1992, 1995, 1996 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This library is free software; you can redistribute it and/or
|
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 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.
|
||||||
|
|
||||||
This 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 this 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. */
|
||||||
|
|
||||||
#ifndef _GLOB_H
|
#ifndef _GLOB_H
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
#define _POSIX_ARG_MAX 4096
|
#define _POSIX_ARG_MAX 4096
|
||||||
|
|
||||||
/* Maximum simultaneous processes per real user ID. */
|
/* Maximum simultaneous processes per real user ID. */
|
||||||
#define _POSIX_CHILD_MAX 25
|
#define _POSIX_CHILD_MAX 6
|
||||||
|
|
||||||
/* Maximum link count of a file. */
|
/* Maximum link count of a file. */
|
||||||
#define _POSIX_LINK_MAX 8
|
#define _POSIX_LINK_MAX 8
|
||||||
@ -47,7 +47,7 @@
|
|||||||
#define _POSIX_NGROUPS_MAX 0
|
#define _POSIX_NGROUPS_MAX 0
|
||||||
|
|
||||||
/* Number of files one process can have open at once. */
|
/* Number of files one process can have open at once. */
|
||||||
#define _POSIX_OPEN_MAX 20
|
#define _POSIX_OPEN_MAX 16
|
||||||
|
|
||||||
/* Number of descriptors that a process may examine with `pselect' or
|
/* Number of descriptors that a process may examine with `pselect' or
|
||||||
`select'. */
|
`select'. */
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _POSIX2_LIMITS_H
|
#ifndef _POSIX2_LIMITS_H
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/* Definitions for data structures and routines for the regular
|
/* Definitions for data structures and routines for the regular
|
||||||
expression library, version 0.12.
|
expression library, version 0.12.
|
||||||
|
Copyright (C) 1985,89,90,91,92,93,95,96 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1985, 89, 90, 91, 92, 93, 95 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.
|
||||||
@ -17,9 +16,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef __REGEXP_LIBRARY_H__
|
#ifndef __REGEXP_LIBRARY_H__
|
||||||
#define __REGEXP_LIBRARY_H__
|
#define __REGEXP_LIBRARY_H__
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* POSIX Standard: 4.5.2 Process Times <sys/times.h>
|
* POSIX Standard: 4.5.2 Process Times <sys/times.h>
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* POSIX Standard: 2.6 Primitive System Data Types <sys/types.h>
|
* POSIX Standard: 2.6 Primitive System Data Types <sys/types.h>
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* POSIX Standard: 4.4 System Identification <sys/utsname.h>
|
* POSIX Standard: 4.4 System Identification <sys/utsname.h>
|
||||||
|
@ -1,8 +1,7 @@
|
|||||||
/* Extended tar format from POSIX.1.
|
/* Extended tar format from POSIX.1.
|
||||||
Copyright (C) 1992, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1992, 1996 Free Software Foundation, Inc.
|
||||||
Written by David J. MacKenzie.
|
|
||||||
|
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
Written by David J. MacKenzie.
|
||||||
|
|
||||||
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
|
||||||
@ -15,9 +14,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _TAR_H
|
#ifndef _TAR_H
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _WORDEXP_H
|
#ifndef _WORDEXP_H
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ extern int wordexp __P ((__const char *__words, wordexp_t * __pwordexp,
|
|||||||
int __flags));
|
int __flags));
|
||||||
|
|
||||||
/* Free the storage allocated by a `wordexp' call. */
|
/* Free the storage allocated by a `wordexp' call. */
|
||||||
extern void wordfree __P ((wordexp_t *));
|
extern void wordfree __P ((wordexp_t *__wordexp));
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_RESOURCE_H
|
#ifndef _SYS_RESOURCE_H
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_VLIMIT_H
|
#ifndef _SYS_VLIMIT_H
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ enum __vlimit_resource
|
|||||||
|
|
||||||
/* Set the soft limit for RESOURCE to be VALUE.
|
/* Set the soft limit for RESOURCE to be VALUE.
|
||||||
Returns 0 for success, -1 for failure. */
|
Returns 0 for success, -1 for failure. */
|
||||||
int vlimit __P ((enum __vlimit_resource __resource, int __value));
|
extern int vlimit __P ((enum __vlimit_resource __resource, int __value));
|
||||||
|
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_VTIMES_H
|
#ifndef _SYS_VTIMES_H
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ struct vtimes
|
|||||||
/* If CURRENT is not NULL, write statistics for the current process into
|
/* If CURRENT is not NULL, write statistics for the current process into
|
||||||
*CURRENT. If CHILD is not NULL, write statistics for all terminated child
|
*CURRENT. If CHILD is not NULL, write statistics for all terminated child
|
||||||
processes into *CHILD. Returns 0 for success, -1 for failure. */
|
processes into *CHILD. Returns 0 for success, -1 for failure. */
|
||||||
int vtimes __P ((struct vtimes * __current, struct vtimes * __child));
|
extern int vtimes __P ((struct vtimes * __current, struct vtimes * __child));
|
||||||
|
|
||||||
__END_DECLS
|
__END_DECLS
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_SOCKET_H
|
#ifndef _SYS_SOCKET_H
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1995 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 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
|
||||||
@ -12,17 +12,20 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_UN_H
|
#ifndef _SYS_UN_H
|
||||||
|
|
||||||
#define _SYS_UN_H 1
|
#define _SYS_UN_H 1
|
||||||
|
#include <sys/cdefs.h>
|
||||||
|
|
||||||
/* Get the definition of the macro to define the common sockaddr members. */
|
/* Get the definition of the macro to define the common sockaddr members. */
|
||||||
#include <sockaddrcom.h>
|
#include <sockaddrcom.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Structure describing the address of an AF_LOCAL (aka AF_UNIX) socket. */
|
/* Structure describing the address of an AF_LOCAL (aka AF_UNIX) socket. */
|
||||||
struct sockaddr_un
|
struct sockaddr_un
|
||||||
{
|
{
|
||||||
@ -30,4 +33,6 @@ struct sockaddr_un
|
|||||||
char sun_path[108]; /* Path name. */
|
char sun_path[108]; /* Path name. */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* sys/un.h */
|
#endif /* sys/un.h */
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _PRINTF_H
|
#ifndef _PRINTF_H
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ struct printf_info
|
|||||||
unsigned int showsign:1; /* + flag. */
|
unsigned int showsign:1; /* + flag. */
|
||||||
unsigned int group:1; /* ' flag. */
|
unsigned int group:1; /* ' flag. */
|
||||||
unsigned int extra:1; /* For special use. */
|
unsigned int extra:1; /* For special use. */
|
||||||
char pad; /* Padding character. */
|
wchar_t pad; /* Padding character. */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
@ -73,8 +73,7 @@ typedef int printf_arginfo_function __P ((__const struct printf_info * __info,
|
|||||||
|
|
||||||
/* Register FUNC to be called to format SPEC specifiers; ARGINFO must be
|
/* Register FUNC to be called to format SPEC specifiers; ARGINFO must be
|
||||||
specified to determine how many arguments a SPEC conversion requires and
|
specified to determine how many arguments a SPEC conversion requires and
|
||||||
what their types are, even if your program never calls
|
what their types are. */
|
||||||
`parse_printf_format'. */
|
|
||||||
|
|
||||||
extern int register_printf_function __P ((int __spec, printf_function __func,
|
extern int register_printf_function __P ((int __spec, printf_function __func,
|
||||||
printf_arginfo_function __arginfo));
|
printf_arginfo_function __arginfo));
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _ALLOCA_H
|
#ifndef _ALLOCA_H
|
||||||
#define _ALLOCA_H 1
|
#define _ALLOCA_H 1
|
||||||
|
@ -2,19 +2,20 @@
|
|||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||||
Written by Miles Bader <miles@gnu.ai.mit.edu>
|
Written by Miles Bader <miles@gnu.ai.mit.edu>
|
||||||
|
|
||||||
This program 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 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, or (at
|
published by the Free Software Foundation; either version 2 of the
|
||||||
your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful, but
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
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
|
||||||
General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#ifndef __ARGZ_H__
|
#ifndef __ARGZ_H__
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1992 Free Software Foundation, Inc.
|
/* Copyright (C) 1992, 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
|
||||||
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _ENDIAN_H
|
#ifndef _ENDIAN_H
|
||||||
#define _ENDIAN_H 1
|
#define _ENDIAN_H 1
|
||||||
|
@ -2,19 +2,20 @@
|
|||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
||||||
Written by Miles Bader <miles@gnu.ai.mit.edu>
|
Written by Miles Bader <miles@gnu.ai.mit.edu>
|
||||||
|
|
||||||
This program 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 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, or (at
|
published by the Free Software Foundation; either version 2 of the
|
||||||
your option) any later version.
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful, but
|
The GNU C Library is distributed in the hope that it will be useful,
|
||||||
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
|
||||||
General Public License for more details.
|
Library General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with this program; if not, write to the Free Software
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#ifndef __ENVZ_H__
|
#ifndef __ENVZ_H__
|
||||||
|
|
||||||
@ -27,6 +28,8 @@
|
|||||||
routines. */
|
routines. */
|
||||||
#include <argz.h>
|
#include <argz.h>
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* Returns a pointer to the entry in ENVZ for NAME, or 0 if there is none. */
|
/* Returns a pointer to the entry in ENVZ for NAME, or 0 if there is none. */
|
||||||
extern char *envz_entry __P ((__const char *__envz, size_t __envz_len,
|
extern char *envz_entry __P ((__const char *__envz, size_t __envz_len,
|
||||||
__const char *__name));
|
__const char *__name));
|
||||||
@ -55,4 +58,6 @@ extern error_t envz_merge __P ((char **__envz, size_t *__envz_len,
|
|||||||
/* Remove null entries. */
|
/* Remove null entries. */
|
||||||
extern void envz_strip __P ((char **__envz, size_t *__envz_len));
|
extern void envz_strip __P ((char **__envz, size_t *__envz_len));
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* __ENVZ_H__ */
|
#endif /* __ENVZ_H__ */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 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
|
||||||
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SVID
|
* SVID
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 1992, 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
|
||||||
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
/* Compatibility with BSD string(3). */
|
/* Compatibility with BSD string(3). */
|
||||||
|
|
||||||
|
@ -12,10 +12,11 @@
|
|||||||
* 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 this library; if not, write to the Free
|
* License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
* Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
* Boston, MA 02111-1307, USA.
|
||||||
*
|
*
|
||||||
* @(#)crypt.h 1.3 16 Sep 1996
|
* @(#)crypt.h 1.3 16 Sep 1996
|
||||||
*
|
*
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _GNU_TYPES_H
|
#ifndef _GNU_TYPES_H
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _IOCTL_TYPES_H
|
#ifndef _IOCTL_TYPES_H
|
||||||
#define _IOCTL_TYPES_H 1
|
#define _IOCTL_TYPES_H 1
|
||||||
|
@ -11,9 +11,10 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with the GNU C Library; see the file COPYING. If not, write to
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#ifndef _NETINET_IN_H
|
#ifndef _NETINET_IN_H
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
/* These are the values for 4.4 BSD and GNU. Earlier BSD systems have a
|
/* These are the values for 4.4 BSD and GNU. Earlier BSD systems have a
|
||||||
subset of these kinds of resource limit. In systems where `getrlimit'
|
subset of these kinds of resource limit. In systems where `getrlimit'
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SIGSET_H_types
|
#ifndef _SIGSET_H_types
|
||||||
#define _SIGSET_H_types 1
|
#define _SIGSET_H_types 1
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definition of `struct sockaddr_*' common members. Generic/4.2 BSD version.
|
/* Definition of `struct sockaddr_*' common members. Generic/4.2 BSD version.
|
||||||
Copyright (C) 1995 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
|
||||||
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SOCKADDRCOM_H
|
#ifndef _SOCKADDRCOM_H
|
||||||
#define _SOCKADDRCOM_H 1
|
#define _SOCKADDRCOM_H 1
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
/* These are the bits used by 4.4 BSD and its derivatives. On systems
|
/* These are the bits used by 4.4 BSD and its derivatives. On systems
|
||||||
(such as GNU) where these facilities are not system services but can be
|
(such as GNU) where these facilities are not system services but can be
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _PTRACE_H
|
#ifndef _PTRACE_H
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* termios type and macro definitions. 4.4 BSD/generic GNU version.
|
/* termios type and macro definitions. 4.4 BSD/generic GNU version.
|
||||||
Copyright (C) 1993, 1994 Free Software Foundation, Inc.
|
Copyright (C) 1993, 1994, 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
|
||||||
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
/* These macros are also defined in some ioctls.h files (with numerically
|
/* These macros are also defined in some ioctls.h files (with numerically
|
||||||
identical values), but this serves to shut up cpp's complaining. */
|
identical values), but this serves to shut up cpp's complaining. */
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
/* Everything extant so far uses these same bits. */
|
/* Everything extant so far uses these same bits. */
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/* `HUGE_VAL' constant for IEEE 754 machines (where it is infinity).
|
/* `HUGE_VAL' constant for IEEE 754 machines (where it is infinity).
|
||||||
Used by <stdlib.h> and <math.h> functions for overflow.
|
Used by <stdlib.h> and <math.h> functions for overflow.
|
||||||
|
Copyright (C) 1992, 1995, 1996 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1992, 1995 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
|
||||||
@ -15,9 +14,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _HUGE_VAL_H
|
#ifndef _HUGE_VAL_H
|
||||||
#define _HUGE_VAL_H 1
|
#define _HUGE_VAL_H 1
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* `NAN' constant for IEEE 754 machines.
|
/* `NAN' constant for IEEE 754 machines.
|
||||||
|
Copyright (C) 1992, 1996 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1992 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
|
||||||
@ -14,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _NAN_H
|
#ifndef _NAN_H
|
||||||
|
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* Minimum guaranteed maximum values for system limits. Hurd version.
|
/* Minimum guaranteed maximum values for system limits. Hurd version.
|
||||||
|
Copyright (C) 1993, 1994, 1996 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1993, 1994 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
|
||||||
@ -14,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
/* GNU has no arbitrary fixed limits on these things, so we don't
|
/* GNU has no arbitrary fixed limits on these things, so we don't
|
||||||
define the macros. Some things are unlimited. Some are in fact
|
define the macros. Some things are unlimited. Some are in fact
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc.
|
/* Copyright (C) 1992, 1993, 1994, 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
|
||||||
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _STATBUF_H
|
#ifndef _STATBUF_H
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@
|
|||||||
# 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.
|
||||||
|
|
||||||
$(common-objpfx)stdio_lim.h: $(common-objpfx)mk-stdiolim
|
$(common-objpfx)stdio_lim.h: $(common-objpfx)mk-stdiolim
|
||||||
$(dir $<)$(notdir $<) > $@-t
|
$(dir $<)$(notdir $<) > $@-t
|
||||||
@ -25,7 +25,7 @@ cded-objdir-includes = $(patsubst -I$$cwd//%,-I/%,\
|
|||||||
$(patsubst -I%,-I$$cwd/%,$(+includes)))
|
$(patsubst -I%,-I$$cwd/%,$(+includes)))
|
||||||
# $(BUILD_CFLAGS) needs to come last because it contains unwanted -Is.
|
# $(BUILD_CFLAGS) needs to come last because it contains unwanted -Is.
|
||||||
$(common-objpfx)mk-stdiolim: $(sysdep_dir)/posix/mk-stdiolim.c \
|
$(common-objpfx)mk-stdiolim: $(sysdep_dir)/posix/mk-stdiolim.c \
|
||||||
../posix/posix1_lim.h local_lim.h
|
$(..)posix/posix1_lim.h local_lim.h
|
||||||
cwd=`pwd`; cd $(objpfx).; \
|
cwd=`pwd`; cd $(objpfx).; \
|
||||||
$(BUILD_CC) $(cded-objdir-includes) $(BUILD_CFLAGS) \
|
$(BUILD_CC) $(cded-objdir-includes) $(BUILD_CFLAGS) \
|
||||||
$$cwd/$< -o $(patsubst $(common-objpfx)%,$(..)%,$@)
|
$$cwd/$< -o $(patsubst $(common-objpfx)%,$(..)%,$@)
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
struct dirent
|
struct dirent
|
||||||
{
|
{
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
/* Stub `HUGE_VAL' constant.
|
/* Stub `HUGE_VAL' constant.
|
||||||
Used by <stdlib.h> and <math.h> functions for overflow.
|
Used by <stdlib.h> and <math.h> functions for overflow.
|
||||||
|
Copyright (C) 1992, 1996 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1992 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
|
||||||
@ -15,9 +14,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _HUGE_VAL_H
|
#ifndef _HUGE_VAL_H
|
||||||
#define _HUGE_VAL_H 1
|
#define _HUGE_VAL_H 1
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _LIBC_LOCK_H
|
#ifndef _LIBC_LOCK_H
|
||||||
#define _LIBC_LOCK_H 1
|
#define _LIBC_LOCK_H 1
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1993 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 1993, 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
|
||||||
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifdef _SIGNAL_H
|
#ifdef _SIGNAL_H
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1992 Free Software Foundation, Inc.
|
/* Copyright (C) 1992, 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
|
||||||
@ -12,9 +12,9 @@ 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 structure needs to be defined in accordance with the
|
/* This structure needs to be defined in accordance with the
|
||||||
implementation of __stat, __fstat, and __lstat. */
|
implementation of __stat, __fstat, and __lstat. */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definitions of flag bits for `waitpid' et al.
|
/* Definitions of flag bits for `waitpid' et al.
|
||||||
Copyright (C) 1992 Free Software Foundation, Inc.
|
Copyright (C) 1992, 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
|
||||||
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _WAITFLAGS_H
|
#ifndef _WAITFLAGS_H
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Definition of `struct sockaddr_*' common members. 4.4 BSD version.
|
/* Definition of `struct sockaddr_*' common members. 4.4 BSD version.
|
||||||
Copyright (C) 1995 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
|
||||||
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SOCKADDRCOM_H
|
#ifndef _SOCKADDRCOM_H
|
||||||
#define _SOCKADDRCOM_H 1
|
#define _SOCKADDRCOM_H 1
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* Copyright (C) 1993 Free Software Foundation, Inc.
|
/* Copyright (C) 1993, 1996 Free Software Foundation, Inc.
|
||||||
|
This file is part of the GNU C Library.
|
||||||
Contributed by Brendan Kehoe (brendan@zen.org).
|
Contributed by Brendan Kehoe (brendan@zen.org).
|
||||||
|
|
||||||
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
|
||||||
@ -12,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _STATBUF_H
|
#ifndef _STATBUF_H
|
||||||
#define _STATBUF_H
|
#define _STATBUF_H
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_MMAN_H
|
#ifndef _SYS_MMAN_H
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Signal number definitions. BSD version.
|
/* Signal number definitions. BSD version.
|
||||||
Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc.
|
Copyright (C) 1991, 1992, 1993, 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
|
||||||
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifdef _SIGNAL_H
|
#ifdef _SIGNAL_H
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1991, 1992 Free Software Foundation, Inc.
|
/* Copyright (C) 1991, 1992, 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
|
||||||
@ -12,13 +12,13 @@ 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. */
|
||||||
|
|
||||||
#ifndef _GNU_STAT_H
|
#ifndef _STATBUF_H
|
||||||
|
|
||||||
#define _GNU_STAT_H 1
|
#define _STATBUF_H 1
|
||||||
|
|
||||||
#include <gnu/types.h>
|
#include <gnu/types.h>
|
||||||
|
|
||||||
@ -81,4 +81,4 @@ struct stat
|
|||||||
#define __S_IEXEC 0100 /* Execute by owner. */
|
#define __S_IEXEC 0100 /* Execute by owner. */
|
||||||
|
|
||||||
|
|
||||||
#endif /* gnu/stat.h */
|
#endif /* statbuf.h */
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Signal number definitions. SunOS version.
|
/* Signal number definitions. SunOS version.
|
||||||
Copyright (C) 1994 Free Software Foundation, Inc.
|
Copyright (C) 1994, 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
|
||||||
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifdef _SIGNAL_H
|
#ifdef _SIGNAL_H
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
/* These are the values for 4.4 BSD and GNU. Earlier BSD systems have a
|
/* These are the values for 4.4 BSD and GNU. Earlier BSD systems have a
|
||||||
subset of these kinds of resource limit. In systems where `getrlimit'
|
subset of these kinds of resource limit. In systems where `getrlimit'
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_MMAN_H
|
#ifndef _SYS_MMAN_H
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* termios type and macro definitions. SunOS 4 version.
|
/* termios type and macro definitions. SunOS 4 version.
|
||||||
Copyright (C) 1993, 1994 Free Software Foundation, Inc.
|
Copyright (C) 1993, 1994, 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
|
||||||
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
/* Type of terminal control flag masks. */
|
/* Type of terminal control flag masks. */
|
||||||
typedef unsigned long int tcflag_t;
|
typedef unsigned long int tcflag_t;
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_MMAN_H
|
#ifndef _SYS_MMAN_H
|
||||||
|
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _WAITFLAGS_H
|
#ifndef _WAITFLAGS_H
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
/* Copyright (C) 1994 Free Software Foundation, Inc.
|
/* Signal number definitions. Irix4 version.
|
||||||
|
Copyright (C) 1994, 1996 Free Software Foundation, Inc.
|
||||||
|
|
||||||
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
|
||||||
@ -11,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifdef _SIGNAL_H
|
#ifdef _SIGNAL_H
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* Copyright (C) 1992 Free Software Foundation, Inc.
|
/* Copyright (C) 1992, 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
|
||||||
@ -12,12 +12,12 @@ 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. */
|
||||||
|
|
||||||
#ifndef _STATBUF_H
|
#ifndef _STATBUF_H
|
||||||
#define _STATBUF_H
|
#define _STATBUF_H 1
|
||||||
|
|
||||||
struct stat
|
struct stat
|
||||||
{
|
{
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_MMAN_H
|
#ifndef _SYS_MMAN_H
|
||||||
|
|
||||||
|
@ -12,12 +12,12 @@ 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. */
|
||||||
|
|
||||||
#ifndef _STATBUF_H
|
#ifndef _STATBUF_H
|
||||||
#define _STATBUF_H
|
#define _STATBUF_H 1
|
||||||
|
|
||||||
/* The Alpha has no additional syscall versions. */
|
/* The Alpha has no additional syscall versions. */
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _SYS_IO_H
|
#ifndef _SYS_IO_H
|
||||||
|
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _DIRENTRY_H
|
#ifndef _DIRENTRY_H
|
||||||
#define _DIRENTRY_H 1
|
#define _DIRENTRY_H 1
|
||||||
|
@ -12,9 +12,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _GNU_TYPES_H
|
#ifndef _GNU_TYPES_H
|
||||||
#define _GNU_TYPES_H 1
|
#define _GNU_TYPES_H 1
|
||||||
|
@ -13,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
#ifndef _IOCTL_TYPES_H
|
#ifndef _IOCTL_TYPES_H
|
||||||
#define _IOCTL_TYPES_H 1
|
#define _IOCTL_TYPES_H 1
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
/* Minimum guaranteed maximum values for system limits. Linux version.
|
/* Minimum guaranteed maximum values for system limits. Linux version.
|
||||||
|
Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
|
||||||
Copyright (C) 1993, 1994, 1995 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
|
||||||
@ -14,9 +13,9 @@ 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. */
|
||||||
|
|
||||||
/* The kernel sources contain a file with all the needed information. */
|
/* The kernel sources contain a file with all the needed information. */
|
||||||
#include <linux/limits.h>
|
#include <linux/limits.h>
|
||||||
|
@ -11,9 +11,10 @@ but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU Library General Public
|
||||||
along with the GNU C Library; see the file COPYING. If not, write to
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
||||||
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
|
Boston, MA 02111-1307, USA. */
|
||||||
|
|
||||||
#ifndef _NETINET_IN_H
|
#ifndef _NETINET_IN_H
|
||||||
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user