#include <limits.h>
#include <unistd.h>
-#undef __dup2
-
-
/* Duplicate FD to FD2, closing the old FD2 and making FD2 be
open the same file as FD is. Return FD2 or -1. */
int
return fcntl (fd, F_DUPFD, fd2);
}
-
-INTDEF(__dup2)
+libc_hidden_def (__dup2)
weak_alias (__dup2, dup2)
#include <unistd.h>
-#undef __getpagesize
-
/* Return the system page size. */
int
__getpagesize (void)
{
return __sysconf (_SC_PAGESIZE);
}
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
weak_alias (__getpagesize, getpagesize)
-/* Copyright (C) 1991, 1995-1997, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995-1997,1999,2000,2002 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
return __libc_open (file, oflag | O_LARGEFILE, mode);
}
weak_alias (__libc_open64, BP_SYM (__open64))
+libc_hidden_weak (BP_SYM (__open64))
weak_alias (__libc_open64, BP_SYM (open64))
/* Write block to given position in file without changing file pointer.
POSIX version.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
return result;
}
#ifndef __libc_pwrite64
+libc_hidden_def (__libc_pwrite64)
weak_alias (__libc_pwrite64, __pwrite64)
+libc_hidden_weak (__pwrite64)
weak_alias (__libc_pwrite64, pwrite64)
#endif
-/* Copyright (C) 1991, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996, 1997, 1998, 2002 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
__set_errno (save);
return -1;
}
+libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
/* rawmemchr (str, ch) -- Return pointer to first occurrence of CH in STR.
For SPARC v9.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jj@ultra.linux.cz>.
This version is developed using the same algorithm as the fast C
add %o0, -1, %o0 /* IEU0 */
END(__rawmemchr)
+libc_hidden_def (__rawmemchr)
weak_alias (__rawmemchr, rawmemchr)
SRC to DEST, returning the address of the terminating '\0' in
DEST, if any, or else DEST + N.
For SPARC v9.
- Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek <jj@ultra.linux.cz> and
Jan Vondrak <jvon4518@ss1000.ms.mff.cuni.cz>.
sllx %o4, 56, %g3 /* IEU0 */
END(__stpncpy)
-weak_alias(__stpncpy, stpncpy)
+libc_hidden_def (__stpncpy)
+weak_alias (__stpncpy, stpncpy)
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
This file is part of the GNU C Library.
__FD_Table[ fd ].in_use = 0;
return 0;
}
-
-
+libc_hidden_def (__close)
weak_alias (__close, close)
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
This file is part of the GNU C Library.
return newfd;
}
+libc_hidden_def (__open)
/* Initialization Code for Console I/O */
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
This file is part of the GNU C Library.
*buffer = data;
return 1;
}
-
+libc_hidden_def (__libc_read)
weak_alias (__libc_read, __read)
+libc_hidden_weak (__read)
weak_alias (__libc_read, read)
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
Ported to standalone by Joel Sherrill jsherril@redstone-emh2.army.mil,
On-Line Applications Research Corporation.
This file is part of the GNU C Library.
return count;
}
+libc_hidden_def (__libc_write)
weak_alias (__libc_write, __write)
+libc_hidden_weak (__write)
weak_alias (__libc_write, write)
-/* Copyright (C) 1991, 1992, 1993, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1993,1995,1997,2002 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
clrl d0
rts
+libc_hidden_def (__pipe)
weak_alias (__pipe, pipe)
-/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
ret
.end __pipe
+libc_hidden_def (__pipe)
weak_alias (__pipe, pipe)
-/* Copyright (C) 1994,1996,1997,1998,1999,2001 Free Software Foundation, Inc.
+/* Copyright (C) 1994,1996,1997,1998,1999,2001,2002
+ 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
return ready;
}
#ifndef __poll
+libc_hidden_def (__poll)
weak_alias (__poll, poll)
#endif
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2002 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
return 0;
}
-
+libc_hidden_def (__sigaction)
weak_alias (__sigaction, sigaction)
-/* Copyright (C) 1991, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1996, 1997, 1998, 2002 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
return __sigpause (mask, 0);
}
+libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
-/* Copyright (C) 1991, 1992, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1997, 2002 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
clrl r0
ret
+libc_hidden_def (__pipe)
weak_alias (__pipe, pipe)
#include <unistd.h>
#include <sys/param.h>
-#undef __getpagesize
-
/* Return the system page size. */
int
__getpagesize ()
#endif /* NBPG. */
#endif /* EXEC_PAGESIZE. */
}
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
weak_alias (__getpagesize, getpagesize)
uid = __getuid ();
if (st.st_uid != uid)
{
- if (INTUSE(__chown) (buf, uid, st.st_gid) < 0)
+ if (__chown (buf, uid, st.st_gid) < 0)
goto helper;
}
/* Make sure the group of the device is that special group. */
if (st.st_gid != gid)
{
- if (INTUSE(__chown) (buf, uid, gid) < 0)
+ if (__chown (buf, uid, gid) < 0)
goto helper;
}
-/* Copyright (C) 1991, 1992, 1993, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1992,1993,1995,1997,2002 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
xorl %eax, %eax
ret
+libc_hidden_def (__pipe)
weak_alias (__pipe, pipe)
-/* Copyright (C) 1992, 1995, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1995, 1997, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
j ra
.end __pipe
+libc_hidden_def (__pipe)
weak_alias (__pipe, pipe)
-/* Copyright (C) 1991, 1992, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1992, 1995, 1997, 2002 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
retl /* return 0; */
clr %o0
+libc_hidden_def (__pipe)
weak_alias (__pipe, pipe)
#include <unistd.h>
-#undef __chown
-
int
__chown (const char *file, uid_t owner, gid_t group)
{
return chown (file, owner, group);
}
-INTDEF(__chown)
+libc_hidden_def (__chown)
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
{
return close (fd);
}
+libc_hidden_def (__close)
#include <fcntl.h>
#include <stdarg.h>
-#undef __libc_fcntl
-#undef __fcntl
-
extern int kfcntl (int fdes, int cmd, unsigned long int arg);
int
return res;
}
+libc_hidden_def (__fcntl)
strong_alias (__fcntl, fcntl)
strong_alias (__fcntl, __libc_fcntl)
+libc_hidden_def (__libc_fcntl)
#include <unistd.h>
-#undef __getpgid
-
extern int kgetpgidx (pid_t pid);
int
{
return kgetpgidx (pid);
}
-INTDEF(__getgpid)
+libc_hidden_def (__getgpid)
strong_alias (__getpgid, getpgid)
/* This is a system call. We only have to provide the wrapper. */
+#include <unistd.h>
+
int
__getpid (void)
{
return getpid ();
}
+libc_hidden_def (__getpid)
#include <stdarg.h>
#include <unistd.h>
-#undef __libc_open
-#undef __open
-
int
__open (const char *file, int oflag, ...)
{
return open (file, oflag, mode);
}
+libc_hidden_def (__open)
strong_alias (__open, __libc_open)
-INTDEF(__open)
+libc_hidden_def (__libc_open)
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
{
return pipe (pipedes);
}
+libc_hidden_def (__pipe)
-/* Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2001, 2002 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
{
return poll (fds, nfds, timeout);
}
+libc_hidden_def (__poll)
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
{
return kread (fd, buf, len);
}
+libc_hidden_def (__libc_read)
strong_alias (__libc_read, __read)
+libc_hidden_def (__read)
strong_alias (__libc_read, read)
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
{
return sbrk (delta);
}
+libc_hidden_def (__sbrk)
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
{
return select (nfds, readfds, writefds, exceptfds, timeout);
}
+libc_hidden_def (__select)
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
{
return setpgid (pid, pgid);
}
+libc_hidden_def (__setpgid)
-/* Copyright (C) 1991, 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1997,2000,2002 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
{
return _sigaction (sig, act, oact);
}
+libc_hidden_def (__sigaction)
strong_alias (__sigaction, sigaction)
-/* Copyright (C) 1991, 1995-1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995-1998, 2000, 2002 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
{
return _sigsuspend (set);
}
+libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
{
return statfs (file, buf);
}
+libc_hidden_def (__statfs)
#include "kernel_proto.h"
-#undef __libc_write
-#undef __write
-
ssize_t
__write (fd, ptr, n)
int fd;
{
return kwrite (fd, ptr, n);
}
-INTDEF(__write)
+libc_hidden_def (__write)
/* AIX has no weak aliases (yet) but let's hope for better times. */
weak_alias (__write, write)
strong_alias (__write, __libc_write)
+libc_hidden_def (__libc_write)
-/* Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Mosberger (davidm@cs.arizona.edu).
ret
PSEUDO_END(__pipe)
+libc_hidden_def (__pipe)
weak_alias (__pipe, pipe)
-/* Copyright (C) 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1998, 2002 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
The 'p' is for 'public'. *Shrug* */
strong_alias (__select_tv64, __select_tv64p)
default_symbol_version (__select_tv64p, select, GLIBC_2.1)
+libc_hidden_ver (__select_tv64, __select)
#else
weak_alias (__select, select)
+libc_hidden_def (__select)
#endif
-/* Copyright (C) 1993, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Mosberger <davidm@cs.arizona.edu>, 1995.
END(__sigsuspend)
+libc_hidden_def (__sigsuspend)
weak_alias(__sigsuspend, sigsuspend)
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2002 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
}
weak_alias (__libc_sigaction, __sigaction)
+libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
#include <ldsodefs.h>
-#undef __getpagesize
-
/* Return the system page size. */
int
__getpagesize ()
#endif /* NBPG. */
#endif /* EXEC_PAGESIZE. */
}
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
weak_alias (__getpagesize, getpagesize)
#endif
#ifdef __NR_lchown
-INTDEF2(__real_chown, __chown)
strong_alias (__real_chown, _real_chown)
versioned_symbol (libc, __real_chown, __chown, GLIBC_2_1);
versioned_symbol (libc, _real_chown, chown, GLIBC_2_1);
+libc_hidden_ver (__real_chown, __chown)
#else
-INTDEF2(__chown_is_lchown, __chown)
strong_alias (__chown_is_lchown, __chown_is_lchown21)
strong_alias (__chown_is_lchown, _chown_is_lchown21)
versioned_symbol (libc, __chown_is_lchown21, __chown, GLIBC_2_1);
versioned_symbol (libc, _chown_is_lchown21, chown, GLIBC_2_1);
+libc_hidden_ver (__chown_is_lchown, __chown)
#endif
#include <sys/syscall.h>
#include "../kernel-features.h"
-#undef __libc_fcntl
-#undef __fcntl
-
extern int __syscall_fcntl (int __fd, int __cmd, ...);
#ifdef __NR_fcntl64
extern int __syscall_fcntl64 (int __fd, int __cmd, ...);
return -1;
#endif /* __ASSUME_FCNTL64 */
}
-INTDEF2(__libc_fcntl, __fcntl);
+libc_hidden_def (__libc_fcntl)
weak_alias (__libc_fcntl, __fcntl)
+libc_hidden_weak (__fcntl)
weak_alias (__libc_fcntl, fcntl)
/* POSIX.1 `sigaction' call for Linux/i386.
- Copyright (C) 1991, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1991,95,96,97,98,99,2000,02 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
}
weak_alias (__libc_sigaction, __sigaction)
+libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
/* NOTE: Please think twice before making any changes to the bits of
#include <sysdep.h>
#include <sys/syscall.h>
-#undef __getpagesize
-
/* Return the system page size. The return value will depend on how
the kernel is configured. A program must use this call to
determine the page size to ensure proper alignment for calls such
assert (GL(dl_pagesize) != 0);
return GL(dl_pagesize);
}
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
weak_alias (__getpagesize, getpagesize)
br.cond.spnt.few __syscall_error
PSEUDO_END(__pipe)
+libc_hidden_def (__pipe)
weak_alias (__pipe, pipe)
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Linux/IA64 specific sigaction
Written by Jes Sorensen, <Jes.Sorensen@cern.ch>, April 1999.
}
weak_alias (__libc_sigaction, __sigaction)
+libc_hidden_def (__sigaction)
weak_alias (__libc_sigaction, sigaction)
-/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,1999,2000,2002 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
real size of the user-level sigset_t. */
return INLINE_SYSCALL (rt_sigsuspend, 2, CHECK_SIGSET (set), _NSIG / 8);
}
+libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
return INLINE_SYSCALL (chown, 3, CHECK_STRING (file), owner, group);
#endif
}
-INTDEF(__chown)
+libc_hidden_def (__chown)
weak_alias (__chown, chown)
#include <sysdep.h>
#include <sys/syscall.h>
-#undef __getpagesize
-
/* Return the system page size. */
int
__getpagesize ()
return 4096;
}
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
weak_alias (__getpagesize, getpagesize)
-/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ralf Baechle <ralf@gnu.org>, 1998.
}
weak_alias (__libc_pwrite64, __pwrite64)
+libc_hidden_weak (__pwrite64)
weak_alias (__libc_pwrite64, pwrite64)
# define __libc_pwrite64(fd, buf, count, offset) \
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2002 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
}
weak_alias (__libc_sigaction, __sigaction)
+libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
/* Poll system call, with emulation if it is not available.
- Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1997,1998,1999,2000,2001,2002 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
return INLINE_SYSCALL (poll, 3, CHECK_N (fds, nfds), nfds, timeout);
# endif
}
+libc_hidden_def (__poll)
weak_alias (__poll, poll)
/* Get the emulation code. */
errno = ELOOP;
return -1;
}
-INTDEF(__chown)
+libc_hidden_def (__chown)
#include <shlib-compat.h>
versioned_symbol (libc, __chown, chown, GLIBC_2_1);
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
}
weak_alias (__libc_pwrite64, __pwrite64)
+libc_hidden_def (__pwrite64)
weak_alias (__libc_pwrite64, pwrite64)
#define __libc_pwrite64(fd, buf, count, offset) \
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
}
weak_alias (__libc_pwrite64, __pwrite64)
+libc_hidden_weak (__pwrite64)
weak_alias (__libc_pwrite64, pwrite64)
# define __libc_pwrite64(fd, buf, count, offset) \
compat_symbol (libc, __chown_is_lchown, __chown, GLIBC_2_0);
compat_symbol (libc, _chown_is_lchown, chown, GLIBC_2_0);
-INTDEF2(__real_chown, __chown)
strong_alias (__real_chown, _real_chown)
versioned_symbol (libc, __real_chown, __chown, GLIBC_2_1);
versioned_symbol (libc, _real_chown, chown, GLIBC_2_1);
+libc_hidden_ver (__real_chown, __chown)
#else
-INTDEF2(__real_chown, __chown)
strong_alias (__real_chown, __chown)
+libc_hidden_def (__chown)
weak_alias (__real_chown, chown)
#endif
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002 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
}
weak_alias (__libc_sigaction, __sigaction)
+libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002 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
real size of the user-level sigset_t. */
return INLINE_SYSCALL (rt_sigsuspend, 2, set, _NSIG / 8);
}
+libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
#define NARGS 4
#include <socket.S>
weak_alias (__libc_send, __send)
+libc_hidden_def (__send)
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2002 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
PSEUDO_END (__libc_pipe)
weak_alias (__libc_pipe, __pipe)
+libc_hidden_def (__pipe)
weak_alias (__libc_pipe, pipe)
-/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 1999, 2000, 2002 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
}
weak_alias (__libc_sigaction, __sigaction)
+libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
-/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,1999,2000,2002 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
return INLINE_SYSCALL (sigsuspend, 3, 0, 0, set->__val[0]);
#endif
}
+libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
#include <sys/param.h>
#include <ldsodefs.h>
-#undef __getpagesize
-
/* Return the system page size. This value will either be 4k or 8k depending
on whether or not we are running on Sparc v9 machine. */
GL(dl_pagesize) = __syscall_getpagesize();
return GL(dl_pagesize);
}
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
weak_alias (__getpagesize, getpagesize)
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Miguel de Icaza <miguel@gnu.ai.mit.edu>, 1997.
PSEUDO_END (__libc_pipe)
weak_alias (__libc_pipe, __pipe)
+libc_hidden_def (__pipe)
weak_alias (__libc_pipe, pipe)
/* POSIX.1 sigaction call for Linux/SPARC.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Miguel de Icaza (miguel@nuclecu.unam.mx), 1997.
}
weak_alias (__libc_sigaction, __sigaction);
+libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction);
static void
-/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Miguel de Icaza <miguel@gnu.ai.mit.edu>, 1997.
PSEUDO_END (__libc_pipe)
weak_alias (__libc_pipe, __pipe)
+libc_hidden_def (__pipe)
weak_alias (__libc_pipe, pipe)
/* POSIX.1 sigaction call for Linux/SPARC64.
- Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Miguel de Icaza (miguel@nuclecu.unam.mx) and
Jakub Jelinek (jj@ultra.linux.cz).
}
weak_alias (__libc_sigaction, __sigaction);
+libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction);
static void
-/* Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,1998,1999,2000,2002 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
real size of the user-level sigset_t. */
return INLINE_SYSCALL (rt_sigsuspend, 2, CHECK_SIGSET (set), _NSIG / 8);
}
+libc_hidden_def (__sigsuspend)
weak_alias (__sigsuspend, sigsuspend)
-/* Copyright (C) 2001 Free Software Foundation, Inc.
+/* Copyright (C) 2001, 2002 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
}
weak_alias (__libc_send, __send)
+libc_hidden_weak (__send)
weak_alias (__send, send)
/* POSIX.1 `sigaction' call for Linux/x86-64.
- Copyright (C) 2001 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002 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
}
weak_alias (__libc_sigaction, __sigaction)
+libc_hidden_weak (__sigaction)
weak_alias (__libc_sigaction, sigaction)
/* NOTE: Please think twice before making any changes to the bits of
-/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1997, 2002 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
{
return __pgrpsys (2, pid, pgid);
}
+libc_hidden_def (__setpgid)
-/* Copyright (C) 1993, 1994, 1995, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1994, 1995, 1997, 2002 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
jb syscall_error
ret
+libc_hidden_def (__sigaction)
weak_alias (__sigaction, sigaction)
-/* Copyright (C) 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1992,1994,1995,1996,1997,2002 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
return 0;
}
-
+libc_hidden_def (__sigaction)
weak_alias (__sigaction, sigaction)
#include <unistd.h>
#include <sys/types.h>
-#undef __getpgid
-
extern int __pgrpsys __P ((int type, ...));
/* Get the process group ID of process PID. */
{
return __pgrpsys (4, pid);
}
-INTDEF(__getpgid)
+libc_hidden_def (__getpgid)
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Brendan Kehoe (brendan@zen.org).
{
return __pgrpsys (5, pid, pgid);
}
+libc_hidden_def (__setpgid)
#include <unistd.h>
#include <sys/types.h>
-#undef __getpgid
-
extern pid_t __pgrpsys __P ((int type, ...));
/* Get the process group ID of process PID. */
{
return __pgrpsys (4, pid);
}
-
-INTDEF(__getpgid)
+libc_hidden_def (__getpgid)
weak_alias (__getpgid, getpgid)
-/* Copyright (C) 1993, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1993,1995,1996,1997,1999,2002 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
{
return __pgrpsys (5, pid, pgid);
}
-
+libc_hidden_def (__setpgid)
weak_alias (__setpgid, setpgid)
-/* Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1994,1995,1996,1997,2002 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
return 0;
}
-
+libc_hidden_def (__sigaction)
weak_alias (__sigaction, sigaction)