-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
int
__gethostname (name, len)
char *name;
- socklen_t len;
+ size_t len;
{
return gethostname (name, len);
}
-/* Copyright (C) 1994, 1995, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1997, 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
int
__gethostname (name, namelen)
char *name;
- socklen_t namelen;
+ size_t namelen;
{
return __sysinfo (SI_HOSTNAME, name, namelen);
}