2002-09-23 Roland McGrath <roland@redhat.com>
* posix/unistd.h: Test [__USE_UNIX98] instead of [__USE_OPEN2K] for gethostname declaration.
This commit is contained in:
parent
3aea2d44f6
commit
58e5204270
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991-1999, 2000, 2001 Free Software Foundation, Inc.
|
/* Copyright (C) 1991-1999, 2000, 2001, 2002 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
|
||||||
|
@ -727,7 +727,7 @@ extern int setlogin (__const char *__name) __THROW;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_XOPEN2K
|
#if defined __USE_BSD || defined __USE_UNIX98
|
||||||
/* Put the name of the current host in no more than LEN bytes of NAME.
|
/* Put the name of the current host in no more than LEN bytes of NAME.
|
||||||
The result is null-terminated if LEN is large enough for the full
|
The result is null-terminated if LEN is large enough for the full
|
||||||
name and the terminator. */
|
name and the terminator. */
|
||||||
|
|
Loading…
Reference in New Issue