/* Return the lowercase version of C. */
extern int tolower (int __c) __THROW;
+libc_hidden_proto(tolower)
/* Return the uppercase version of C. */
extern int toupper (int __c) __THROW;
+libc_hidden_proto(toupper)
__END_NAMESPACE_STD
__THROW. */
#ifndef __USE_FILE_OFFSET64
extern int fcntl (int __fd, int __cmd, ...);
+libc_hidden_proto(fcntl)
#else
# ifdef __REDIRECT
extern int __REDIRECT (fcntl, (int __fd, int __cmd, ...), fcntl64);
__THROW. */
#ifndef __USE_FILE_OFFSET64
extern int open (__const char *__file, int __oflag, ...) __nonnull ((1));
+libc_hidden_proto(open)
#else
# ifdef __REDIRECT
extern int __REDIRECT (open, (__const char *__file, int __oflag, ...), open64)
* struct rpc_msg *rmsg;
*/
extern bool_t xdr_replymsg (XDR *__xdrs, struct rpc_msg *__rmsg) __THROW;
+libc_hidden_proto(xdr_replymsg)
/*
* Fills in the error part of a reply message.
/* XDR using memory buffers */
extern void xdrmem_create (XDR *__xdrs, __const caddr_t __addr,
u_int __size, enum xdr_op __xop) __THROW;
+libc_hidden_proto(xdrmem_create)
/* XDR using stdio library */
extern void xdrstdio_create (XDR *__xdrs, FILE *__file, enum xdr_op __xop)
/* Get and/or change the set of blocked signals. */
extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
sigset_t *__restrict __oset) __THROW;
+libc_hidden_proto(sigprocmask)
/* Change the set of blocked signals to SET,
wait until a signal arrives, and restore the set of blocked signals.
/* Get and/or set the action for signal SIG. */
extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
struct sigaction *__restrict __oact) __THROW;
+libc_hidden_proto(sigaction)
/* Put in SET all signals that are blocked and waiting to be delivered. */
extern int sigpending (sigset_t *__set) __THROW __nonnull ((1));
marked with __THROW. */
extern FILE *fopen (__const char *__restrict __filename,
__const char *__restrict __modes) __wur;
+libc_hidden_proto(fopen)
/* Open a file, replacing an existing stream with it.
This function is a possible cancellation point and therefore not
#ifdef __USE_LARGEFILE64
extern FILE *fopen64 (__const char *__restrict __filename,
__const char *__restrict __modes) __wur;
+libc_hidden_proto(fopen64)
extern FILE *freopen64 (__const char *__restrict __filename,
__const char *__restrict __modes,
FILE *__restrict __stream) __wur;
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern int printf (__const char *__restrict __format, ...);
+libc_hidden_proto(printf)
/* Write formatted output to S. */
extern int sprintf (char *__restrict __s,
__const char *__restrict __format, ...) __THROW;
+libc_hidden_proto(sprintf)
/* Write formatted output to S from argument list ARG.
marked with __THROW. */
extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
__gnuc_va_list __arg);
+libc_hidden_proto(vfprintf)
/* Write formatted output to stdout from argument list ARG.
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
__wur;
+libc_hidden_proto(fgets)
/* Get a newline-terminated string from stdin, removing the newline.
DO NOT USE THIS FUNCTION!! There is no limit on how much it will read.
This function is a possible cancellation points and therefore not
marked with __THROW. */
extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
+libc_hidden_proto(fputs)
/* Write a string, followed by a newline, to stdout.
This function is a possible cancellation point and therefore not
marked with __THROW. */
extern void perror (__const char *__s);
+libc_hidden_proto(perror)
__END_NAMESPACE_STD
#ifdef __UCLIBC_HAS_SYS_ERRLIST__
__BEGIN_NAMESPACE_STD
/* Return the value of envariable NAME, or NULL if it doesn't exist. */
extern char *getenv (__const char *__name) __THROW __nonnull ((1)) __wur;
+libc_hidden_proto(getenv)
__END_NAMESPACE_STD
/* This function is similar to the above but returns NULL if the
One argument may follow; its presence and type depend on REQUEST.
Return value depends on REQUEST. Usually -1 indicates error. */
extern int ioctl (int __fd, unsigned long int __request, ...) __THROW;
+libc_hidden_proto(ioctl)
__END_DECLS
#ifndef __USE_FILE_OFFSET64
extern void *mmap (void *__addr, size_t __len, int __prot,
int __flags, int __fd, __off_t __offset) __THROW;
+libc_hidden_proto(mmap)
#else
# ifdef __REDIRECT
extern void * __REDIRECT (mmap,
This function is a cancellation point and therefore not marked with
__THROW. */
extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout);
+libc_hidden_proto(poll)
#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
/* Like poll, but before waiting the threads signal mask is replaced
protocol PROTOCOL. If PROTOCOL is zero, one is chosen automatically.
Returns a file descriptor for the new socket, or -1 for errors. */
extern int socket (int __domain, int __type, int __protocol) __THROW;
+libc_hidden_proto(socket)
/* Create two new sockets, of type TYPE in domain DOMAIN and using
protocol PROTOCOL, which are connected to each other, and put file
/* Get file attributes for FILE and put them in BUF. */
extern int stat (__const char *__restrict __file,
struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
+libc_hidden_proto(stat)
/* Get file attributes for the file, device, pipe, or socket
that file descriptor FD is open on and put them in BUF. */
extern int fstat (int __fd, struct stat *__buf) __THROW __nonnull ((2));
+libc_hidden_proto(fstat)
#else
# ifdef __REDIRECT_NTH
extern int __REDIRECT_NTH (stat, (__const char *__restrict __file,
If FILE is a symbolic link, do not follow it. */
extern int lstat (__const char *__restrict __file,
struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
+libc_hidden_proto(lstat)
# else
# ifdef __REDIRECT_NTH
extern int __REDIRECT_NTH (lstat,
Use the functions and variables declared in <time.h> instead. */
extern int gettimeofday (struct timeval *__restrict __tv,
__timezone_ptr_t __tz) __THROW __nonnull ((1));
+libc_hidden_proto(gettimeofday)
#ifdef __USE_BSD
/* Set the current time of day and timezone information.
Return the new file position. */
#ifndef __USE_FILE_OFFSET64
extern __off_t lseek (int __fd, __off_t __offset, int __whence) __THROW;
+libc_hidden_proto(lseek)
#else
# ifdef __REDIRECT_NTH
extern __off64_t __REDIRECT_NTH (lseek,
This function is a cancellation point and therefore not marked with
__THROW. */
extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __wur;
+libc_hidden_proto(read)
/* Write N bytes of BUF to FD. Return the number written, or -1.
This function is a cancellation point and therefore not marked with
__THROW. */
extern ssize_t write (int __fd, __const void *__buf, size_t __n) __wur;
+libc_hidden_proto(write)
#ifdef __USE_UNIX98
# ifndef __USE_FILE_OFFSET64
/* Terminate program execution with the low-order 8 bits of STATUS. */
extern void _exit (int __status) __attribute__ ((__noreturn__));
+libc_hidden_proto(_exit)
/* Get the `_PC_*' symbols for the NAME argument to `pathconf' and `fpathconf';
/* Get the process ID of the calling process. */
extern __pid_t getpid (void) __THROW;
+libc_hidden_proto(getpid)
/* Get the process ID of the calling process's parent. */
extern __pid_t getppid (void) __THROW;
/* Set the end of accessible data space (aka "the break") to ADDR.
Returns zero on success and -1 for errors (with errno set). */
extern int brk (void *__addr) __THROW __wur;
+libc_hidden_proto(brk)
/* Increase or decrease the end of accessible data space by DELTA bytes.
If successful, returns the address the previous end of data space
(i.e. the beginning of the new space, if DELTA > 0);
returns (void *) -1 for errors (with errno set). */
extern void *sbrk (intptr_t __delta) __THROW;
+libc_hidden_proto(sbrk)
#endif
extern int fwprintf (__FILE *__restrict __stream,
__const wchar_t *__restrict __format, ...)
/* __attribute__ ((__format__ (__wprintf__, 2, 3))) */;
+libc_hidden_proto(fwprintf)
/* Write formatted output to stdout.
This function is a possible cancellation point and therefore not
#include <netinet/if_ether.h>
libc_hidden_proto(ether_ntoa_r)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
#ifdef __UCLIBC_HAS_XLOCALE__
/* libc_hidden_proto(__ctype_b_loc) */
/* libc_hidden_proto(__ctype_tolower_loc) */
/* Experimentally off - libc_hidden_proto(strchr) */
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
libc_hidden_proto(getservbyname_r)
libc_hidden_proto(gethostbyname2_r)
#include <arpa/inet.h>
#include <unistd.h>
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(inet_network)
libc_hidden_proto(rewind)
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
/* libc_hidden_proto(abort) */
#include <bits/uClibc_mutex.h>
#include <errno.h>
#include <unistd.h>
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strpbrk) */
libc_hidden_proto(atoi)
libc_hidden_proto(rewind)
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(abort) */
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strpbrk) */
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(atoi)
libc_hidden_proto(rewind)
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
/* libc_hidden_proto(abort) */
#include <bits/uClibc_mutex.h>
#include <unistd.h>
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(read)
-libc_hidden_proto(write)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
libc_hidden_proto(getuid)
libc_hidden_proto(geteuid)
libc_hidden_proto(gethostbyname_r)
/* Experimentally off - libc_hidden_proto(strncpy) */
/* Experimentally off - libc_hidden_proto(strdup) */
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* libc_hidden_proto(close) */
#if __ASSUME_NETLINK_SUPPORT
/* Experimentally off - libc_hidden_proto(strndup) */
#include "netlinkaccess.h"
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
/* Experimentally off - libc_hidden_proto(time) */
libc_hidden_proto(sendto)
/* Experimentally off - libc_hidden_proto(strchr) */
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(sprintf)
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(sprintf) */
+/* libc_hidden_proto(tolower) */
/*
* WARNING: Don't even consider trying to compile this on a system where
#include <features.h>
#include <libc-internal.h>
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
/* Return a socket of any type. The socket can be used in subsequent
ioctl calls to talk to the kernel. */
/* libc_hidden_proto(strnlen) */
/* Experimentally off - libc_hidden_proto(strstr) */
/* Experimentally off - libc_hidden_proto(strcasecmp) */
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(random)
libc_hidden_proto(getservbyport)
libc_hidden_proto(inet_pton)
libc_hidden_proto(inet_ntop)
libc_hidden_proto(connect)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
libc_hidden_proto(select)
libc_hidden_proto(recv)
libc_hidden_proto(send)
-libc_hidden_proto(printf)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(printf) */
+/* libc_hidden_proto(sprintf) */
libc_hidden_proto(snprintf)
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
libc_hidden_proto(getnameinfo)
libc_hidden_proto(gethostbyname)
libc_hidden_proto(gethostbyname_r)
#include <features.h>
#include "rpc_private.h"
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_opaque_auth)
#define MAX_MARSHAL_SIZE 20
libc_hidden_proto(geteuid)
libc_hidden_proto(getgroups)
libc_hidden_proto(gethostname)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_authunix_parms)
libc_hidden_proto(xdr_opaque_auth)
-libc_hidden_proto(gettimeofday)
-libc_hidden_proto(fputs)
-libc_hidden_proto(perror)
+/* libc_hidden_proto(gettimeofday) */
+/* libc_hidden_proto(fputs) */
+/* libc_hidden_proto(perror) */
/* libc_hidden_proto(abort) */
#ifdef USE_IN_LIBIO
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
/*
/* Experimentally off - libc_hidden_proto(memset) */
libc_hidden_proto(bind)
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
/*
* Bind a socket to a privileged IP port
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
libc_hidden_proto(__glibc_strerror_r)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
#ifdef USE_IN_LIBIO
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
static char *auth_errmsg (enum auth_stat stat) internal_function;
#include <rpc/svc.h>
#include <rpc/xdr.h>
-libc_hidden_proto(perror)
+/* libc_hidden_proto(perror) */
libc_hidden_proto(authnone_create)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_callhdr)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
libc_hidden_proto(xdr_opaque_auth)
libc_hidden_proto(svc_getreq)
libc_hidden_proto(_seterr_reply)
# include <wchar.h>
#endif
-libc_hidden_proto(socket)
-libc_hidden_proto(read)
-libc_hidden_proto(write)
+/* libc_hidden_proto(socket) */
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
/* libc_hidden_proto(close) */
libc_hidden_proto(authnone_create)
libc_hidden_proto(xdrrec_create)
libc_hidden_proto(xdrrec_endofrecord)
libc_hidden_proto(xdrrec_skiprecord)
libc_hidden_proto(xdr_callhdr)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
libc_hidden_proto(xdr_opaque_auth)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_void)
libc_hidden_proto(pmap_getport)
libc_hidden_proto(_seterr_reply)
libc_hidden_proto(connect)
libc_hidden_proto(bindresvport)
-libc_hidden_proto(poll)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(poll) */
+/* libc_hidden_proto(fputs) */
libc_hidden_proto(__rpc_thread_createerr)
#ifdef USE_IN_LIBIO
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
extern u_long _create_xid (void) attribute_hidden;
#include <net/if.h>
#ifdef USE_IN_LIBIO
# include <wchar.h>
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
#ifdef IP_RECVERR
#endif
/* Experimentally off - libc_hidden_proto(memcmp) */
-libc_hidden_proto(ioctl)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(ioctl) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
/* CMSG_NXTHDR is using it */
libc_hidden_proto(__cmsg_nxthdr)
libc_hidden_proto(authnone_create)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_callhdr)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
libc_hidden_proto(xdr_opaque_auth)
libc_hidden_proto(pmap_getport)
libc_hidden_proto(_seterr_reply)
libc_hidden_proto(recvfrom)
libc_hidden_proto(sendto)
libc_hidden_proto(recvmsg)
-libc_hidden_proto(poll)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(poll) */
+/* libc_hidden_proto(fputs) */
libc_hidden_proto(__rpc_thread_createerr)
extern u_long _create_xid (void) attribute_hidden;
#include <rpc/pmap_clnt.h>
#ifdef USE_IN_LIBIO
# include <wchar.h>
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
libc_hidden_proto(authnone_create)
libc_hidden_proto(xdrrec_create)
libc_hidden_proto(xdrrec_endofrecord)
libc_hidden_proto(xdrrec_skiprecord)
libc_hidden_proto(xdr_callhdr)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
libc_hidden_proto(xdr_opaque_auth)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_void)
libc_hidden_proto(getegid)
libc_hidden_proto(geteuid)
libc_hidden_proto(connect)
libc_hidden_proto(recvmsg)
libc_hidden_proto(sendmsg)
-libc_hidden_proto(poll)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(poll) */
+/* libc_hidden_proto(fputs) */
libc_hidden_proto(__rpc_thread_createerr)
extern u_long _create_xid (void) attribute_hidden;
libc_hidden_proto(lrand48_r)
libc_hidden_proto(srand48_r)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
/* The RPC code is not threadsafe, but new code should be threadsafe. */
#include <netinet/in.h>
#include <arpa/inet.h>
-libc_hidden_proto(ioctl)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(ioctl) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(perror)
+/* libc_hidden_proto(perror) */
/* libc_hidden_proto(exit) */
/*
/* Experimentally off - libc_hidden_proto(strchr) */
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(atoi)
libc_hidden_proto(rewind)
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
/*
* Internet version.
#include <rpc/pmap_prot.h>
#include <rpc/pmap_clnt.h>
-libc_hidden_proto(ioctl)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(ioctl) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(perror)
+/* libc_hidden_proto(perror) */
/* libc_hidden_proto(exit) */
libc_hidden_proto(clnt_perror)
libc_hidden_proto(clntudp_bufcreate)
#define MAX_BROADCAST_SIZE 1400
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(ioctl)
-libc_hidden_proto(perror)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(ioctl) */
+/* libc_hidden_proto(perror) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
libc_hidden_proto(authunix_create_default)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
libc_hidden_proto(xdr_reference)
libc_hidden_proto(xdr_u_long)
libc_hidden_proto(xdr_void)
libc_hidden_proto(setsockopt)
libc_hidden_proto(recvfrom)
libc_hidden_proto(sendto)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
/* libc_hidden_proto(fprintf) */
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncmp) */
/* Experimentally off - libc_hidden_proto(memmove) */
-libc_hidden_proto(getpid)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(getpid) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(fcntl)
-libc_hidden_proto(read)
-libc_hidden_proto(write)
-libc_hidden_proto(perror)
-libc_hidden_proto(lstat)
-libc_hidden_proto(fstat)
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(fcntl) */
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(perror) */
+/* libc_hidden_proto(lstat) */
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(tolower) */
libc_hidden_proto(sysconf)
libc_hidden_proto(getline)
libc_hidden_proto(geteuid)
libc_hidden_proto(connect)
libc_hidden_proto(sigblock)
libc_hidden_proto(snprintf)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
libc_hidden_proto(accept)
libc_hidden_proto(listen)
libc_hidden_proto(sigsetmask)
libc_hidden_proto(getc_unlocked)
libc_hidden_proto(__fgetc_unlocked)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(fprintf) */
libc_hidden_proto(__h_errno_location)
/* Experimentally off - libc_hidden_proto(memset) */
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(read)
-libc_hidden_proto(write)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(socket)
-libc_hidden_proto(perror)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(socket) */
+/* libc_hidden_proto(perror) */
+/* libc_hidden_proto(sprintf) */
libc_hidden_proto(snprintf)
libc_hidden_proto(getsockname)
libc_hidden_proto(getnameinfo)
/*
* XDR a reply message
*/
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
bool_t
xdr_replymsg (XDR *xdrs, struct rpc_msg *rmsg)
{
#include <errno.h>
#include <netinet/in.h>
-libc_hidden_proto(read)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
libc_hidden_proto(connect)
libc_hidden_proto(recvfrom)
libc_hidden_proto(sendto)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
libc_hidden_proto(rtime)
#define NYEARS (u_long)(1970 - 1900)
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strcasecmp) */
/* Experimentally off - libc_hidden_proto(strncasecmp) */
-libc_hidden_proto(getenv)
-libc_hidden_proto(printf)
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(getenv) */
+/* libc_hidden_proto(printf) */
+/* libc_hidden_proto(fstat) */
libc_hidden_proto(__fsetlocking)
libc_hidden_proto(getgid)
libc_hidden_proto(getuid)
libc_hidden_proto(geteuid)
libc_hidden_proto(gethostname)
libc_hidden_proto(fileno)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(getc_unlocked)
libc_hidden_proto(__fgetc_unlocked)
#include <rpc/svc.h>
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(printf)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(printf) */
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_authunix_parms)
/*
#include "rpc_private.h"
#include <rpc/svc.h>
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
/*
* This is the "network" that we will be moving data over
#include <sys/poll.h>
#include <rpc/rpc.h>
-libc_hidden_proto(perror)
+/* libc_hidden_proto(perror) */
libc_hidden_proto(svc_getreq_poll)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
/* used by svc_[max_]pollfd */
libc_hidden_proto(__rpc_thread_svc_pollfd)
libc_hidden_proto(__rpc_thread_svc_max_pollfd)
/* Experimentally off - libc_hidden_proto(strdup) */
/* Experimentally off - libc_hidden_proto(memset) */
libc_hidden_proto(asprintf)
-libc_hidden_proto(fputs)
-libc_hidden_proto(write)
+/* libc_hidden_proto(fputs) */
+/* libc_hidden_proto(write) */
/* libc_hidden_proto(exit) */
libc_hidden_proto(svc_sendreply)
libc_hidden_proto(svc_register)
/* Experimentally off - libc_hidden_proto(memset) */
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(read)
-libc_hidden_proto(write)
-libc_hidden_proto(perror)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(perror) */
libc_hidden_proto(xdrrec_create)
libc_hidden_proto(xdrrec_endofrecord)
libc_hidden_proto(xdrrec_skiprecord)
libc_hidden_proto(xdrrec_eof)
libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
libc_hidden_proto(xprt_register)
libc_hidden_proto(xprt_unregister)
libc_hidden_proto(getsockname)
libc_hidden_proto(bind)
libc_hidden_proto(bindresvport)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
libc_hidden_proto(accept)
libc_hidden_proto(listen)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(abort) */
# include <wchar.h>
# include <libio/iolibio.h>
# define fputs(s, f) _IO_fputs (s, f)
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
/* Experimentally off - libc_hidden_proto(memcmp) */
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(perror)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(perror) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
libc_hidden_proto(xprt_register)
libc_hidden_proto(xprt_unregister)
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
libc_hidden_proto(getsockname)
libc_hidden_proto(setsockopt)
libc_hidden_proto(bind)
libc_hidden_proto(sendto)
libc_hidden_proto(recvmsg)
libc_hidden_proto(sendmsg)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
/* libc_hidden_proto(fprintf) */
#define rpc_buffer(xprt) ((xprt)->xp_p1)
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(memset) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(perror)
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(perror) */
+/* libc_hidden_proto(getpid) */
libc_hidden_proto(xdrrec_create)
libc_hidden_proto(xdrrec_endofrecord)
libc_hidden_proto(xdrrec_skiprecord)
libc_hidden_proto(xdrrec_eof)
libc_hidden_proto(xdr_callmsg)
-libc_hidden_proto(xdr_replymsg)
+/* libc_hidden_proto(xdr_replymsg) */
libc_hidden_proto(xprt_register)
libc_hidden_proto(xprt_unregister)
libc_hidden_proto(getegid)
libc_hidden_proto(bind)
libc_hidden_proto(recvmsg)
libc_hidden_proto(sendmsg)
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
libc_hidden_proto(accept)
libc_hidden_proto(listen)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
/* libc_hidden_proto(abort) */
/*
#ifdef USE_IN_LIBIO
# include <wchar.h>
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
/*
* constants specific to the xdr "protocol"
#ifdef USE_IN_LIBIO
# include <wchar.h>
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
libc_hidden_proto(xdr_u_int)
#define LASTUNSIGNED ((u_int)0-1)
* The procedure xdrmem_create initializes a stream descriptor for a
* memory buffer.
*/
-libc_hidden_proto(xdrmem_create)
+/* libc_hidden_proto(xdrmem_create) */
void
xdrmem_create (XDR *xdrs, const caddr_t addr, u_int size, enum xdr_op op)
{
# include <wchar.h>
# include <libio/iolibio.h>
# define fputs(s, f) _IO_fputs (s, f)
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(fputs)
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(fputs) */
+/* libc_hidden_proto(lseek) */
static bool_t xdrrec_getlong (XDR *, long *);
static bool_t xdrrec_putlong (XDR *, const long *);
# include <wchar.h>
# include <libio/iolibio.h>
# define fputs(s, f) _IO_fputs (s, f)
-libc_hidden_proto(fwprintf)
+/* libc_hidden_proto(fwprintf) */
#endif
/* Experimentally off - libc_hidden_proto(memset) */
libc_hidden_proto(xdr_bool)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
#define LASTUNSIGNED ((u_int)0-1)
#endif
#ifdef L_socket
-libc_hidden_proto(socket)
+/* libc_hidden_proto(socket) */
#ifdef __NR_socket
_syscall3(int, socket, int, family, int, type, int, protocol)
#elif defined(__NR_socketcall)
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__ctype_tolower) */
#endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
#ifdef __UCLIBC_HAS_CTYPE_TABLES__
int tolower(int c)
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_toupper)
#endif
-libc_hidden_proto(toupper)
+/* libc_hidden_proto(toupper) */
#ifdef __UCLIBC_HAS_CTYPE_TABLES__
int toupper(int c)
#include "dirstream.h"
libc_hidden_proto(opendir)
-libc_hidden_proto(open)
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(fcntl) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(stat)
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(stat) */
+/* libc_hidden_proto(fstat) */
/* opendir just makes an open() call - it return NULL if it fails
* (open sets errno), otherwise it returns a DIR * pointer.
#include <unistd.h>
#include "dirstream.h"
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
/* rewinddir() just does an lseek(fd,0,0) - see close for comments */
void rewinddir(DIR * dir)
#include <unistd.h>
#include "dirstream.h"
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
void seekdir(DIR * dir, long int offset)
{
libc_hidden_proto(verrx)
/* libc_hidden_proto(fprintf) */
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
libc_hidden_proto(__xpg_strerror_r)
/* libc_hidden_proto(exit) */
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
static void vwarn_work(const char *format, va_list args, int showerr)
{
/* libc_hidden_proto(fprintf) */
/* libc_hidden_proto(exit) */
libc_hidden_proto(putc)
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
libc_hidden_proto(fflush)
libc_hidden_proto(fputc)
libc_hidden_proto(__fputc_unlocked)
libc_hidden_proto(lockf)
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(fcntl)
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(fcntl) */
+/* libc_hidden_proto(getpid) */
/* lockf is a simplified interface to fcntl's locking facilities. */
#define F_SETLK F_SETLK64
libc_hidden_proto(fcntl64)
#else
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(fcntl) */
#endif
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
/* lockf is a simplified interface to fcntl's locking facilities. */
/* libc_hidden_proto(__ctype_b) */
/* libc_hidden_proto(__ctype_tolower) */
#endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
libc_hidden_proto(fnmatch)
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
#endif
/* For platform which support the ISO C amendement 1 functionality we
libc_hidden_proto(fnmatch)
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
/* Comment out all this code if we are using the GNU C Library, and are not
actually compiling the library itself. This code is part of the GNU C
Library, but also included in many other GNU distributions. Compiling
#endif
libc_hidden_proto(closedir)
/* Experimentally off - libc_hidden_proto(stpcpy) */
-libc_hidden_proto(lstat)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(lstat) */
+/* libc_hidden_proto(stat) */
#if ! _LIBC && !HAVE_DECL_STPCPY && !defined stpcpy
char *stpcpy ();
# define struct_stat struct stat64
#else
libc_hidden_proto(readdir_r)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
# define struct_stat struct stat
#endif
#endif
#define struct_stat64 struct stat
#define __stat64(fname, buf) stat (fname, buf)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
#endif
libc_hidden_proto(getuid)
libc_hidden_proto(getegid)
libc_hidden_proto(geteuid)
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
/* libc_hidden_proto(abort) */
extern __typeof(open) __libc_open;
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strcmp) */
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
libc_hidden_proto(mkdir)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
#ifdef __UCLIBC_HAS_LFS__
libc_hidden_proto(open64)
#endif
-libc_hidden_proto(read)
+/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(getpid)
-libc_hidden_proto(stat)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(getpid) */
+/* libc_hidden_proto(stat) */
+/* libc_hidden_proto(gettimeofday) */
/* Return nonzero if DIR is an existent directory. */
static int direxists (const char *dir)
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strncmp) */
/* Experimentally off - libc_hidden_proto(strchr) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
#ifdef __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__C_ctype_toupper) */
#endif
/* Experimentally off - libc_hidden_proto(strstr) */
/* Experimentally off - libc_hidden_proto(strtok_r) */
libc_hidden_proto(atoi)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(fseek)
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
/* libc_hidden_proto(abort) */
/* libc_hidden_proto(fprintf) */
#else
libc_hidden_proto(isascii)
#endif
-libc_hidden_proto(toupper)
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(toupper) */
+/* libc_hidden_proto(tolower) */
/* Experimentally off - libc_hidden_proto(memcmp) */
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(memmove) */
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/* Experimentally off - libc_hidden_proto(strcasecmp) */
/* libc_hidden_proto(abort) */
#ifdef __USE_GNU
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
-libc_hidden_proto(printf)
+/* libc_hidden_proto(printf) */
/* libc_hidden_proto(abort) */
#ifdef __USE_GNU
/* Experimentally off - libc_hidden_proto(mempcpy) */
libc_hidden_proto(setmntent)
libc_hidden_proto(getmntent_r)
libc_hidden_proto(endmntent)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
#ifndef __USE_FILE_OFFSET64
extern int fstatfs (int __fildes, struct statfs *__buf)
extern __typeof(fstatfs) __libc_fstatfs;
libc_hidden_proto(__libc_fstatfs)
-libc_hidden_proto(fstat)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(stat) */
libc_hidden_proto(fstatvfs)
int fstatvfs (int fd, struct statvfs *buf)
libc_hidden_proto(fstatfs64)
#endif
libc_hidden_proto(fstat64)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
int fstatvfs64 (int fd, struct statvfs64 *buf)
{
extern __typeof(statfs) __libc_statfs;
libc_hidden_proto(__libc_statfs)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
libc_hidden_proto(statvfs)
int statvfs (const char *file, struct statvfs *buf)
/* Experimentally off - libc_hidden_proto(strchr) */
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(open)
-libc_hidden_proto(fcntl)
-libc_hidden_proto(socket)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(fcntl) */
+/* libc_hidden_proto(socket) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(write)
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(getpid) */
libc_hidden_proto(ctime)
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
libc_hidden_proto(sigemptyset)
libc_hidden_proto(connect)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
libc_hidden_proto(vsnprintf)
/* Experimentally off - libc_hidden_proto(time) */
#include <sys/ipc.h>
#include <sys/stat.h>
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
key_t ftok (const char *pathname, int proj_id)
{
#include <sys/timeb.h>
#include <sys/time.h>
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
int ftime(struct timeb *timebuf)
{
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncpy) */
/* libc_hidden_proto(sprintf) */
-libc_hidden_proto(open)
-libc_hidden_proto(read)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
libc_hidden_proto(tzset)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
/* Experimentally off - libc_hidden_proto(strncasecmp) */
libc_hidden_proto(strtol)
libc_hidden_proto(strtoul)
libc_hidden_proto(fgets_unlocked)
libc_hidden_proto(getc_unlocked)
libc_hidden_proto(__fgetc_unlocked)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(abort) */
#ifdef __UCLIBC_HAS_XLOCALE__
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strdup) */
/* Experimentally off - libc_hidden_proto(strncmp) */
-libc_hidden_proto(read)
-libc_hidden_proto(write)
-libc_hidden_proto(open)
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(fcntl) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
#include <bits/uClibc_mutex.h>
__UCLIBC_MUTEX_STATIC(utmplock, PTHREAD_MUTEX_INITIALIZER);
/* Experimentally off - libc_hidden_proto(strncpy) */
libc_hidden_proto(updwtmp)
#endif
-libc_hidden_proto(open)
-libc_hidden_proto(write)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(write) */
/* libc_hidden_proto(close) */
libc_hidden_proto(lockf)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
#if 0
/* This is enabled in uClibc/libutil/logwtmp.c */
#include <bits/uClibc_uwchar.h>
/* Experimentally off - libc_hidden_proto(strcmp) */
-libc_hidden_proto(tolower)
-libc_hidden_proto(toupper)
+/* libc_hidden_proto(tolower) */
+/* libc_hidden_proto(toupper) */
libc_hidden_proto(towlower)
libc_hidden_proto(towupper)
libc_hidden_proto(towctrans)
libc_hidden_proto(fnmatch)
libc_hidden_proto(pipe)
libc_hidden_proto(fork)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(read)
-libc_hidden_proto(getenv)
-libc_hidden_proto(getpid)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(getenv) */
+/* libc_hidden_proto(getpid) */
+/* libc_hidden_proto(sprintf) */
/* libc_hidden_proto(fprintf) */
/* libc_hidden_proto(abort) */
libc_hidden_proto(glob)
#include <shadow.h>
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(open)
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(fcntl) */
/* libc_hidden_proto(close) */
libc_hidden_proto(sigfillset)
-libc_hidden_proto(sigaction)
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigaction) */
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(sigaddset)
libc_hidden_proto(sigemptyset)
libc_hidden_proto(alarm)
libc_hidden_proto(rewind)
libc_hidden_proto(fgets_unlocked)
libc_hidden_proto(__fputc_unlocked)
-libc_hidden_proto(sprintf)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(sprintf) */
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
/* libc_hidden_proto(fprintf) */
#ifdef __UCLIBC_HAS_XLOCALE__
#include <sys/types.h>
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
libc_hidden_proto(kill)
int __raise (int signo) attribute_hidden;
#endif
#ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
weak_alias(__libc_sigaction,sigaction)
libc_hidden_weak(sigaction)
#endif
#include <errno.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
#include "sigset-cvt-mask.h"
#include <stddef.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(sigaddset)
int sighold (int sig)
#include <signal.h>
#include <string.h> /* For the real memset prototype. */
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
int sigignore (int sig)
{
#include <signal.h>
#include <errno.h>
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
/* If INTERRUPT is nonzero, make signal SIG interrupt system calls
(causing them to fail with EINTR); if INTERRUPT is zero, make system
#include <signal.h>
#include <libc-internal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
/* This function is called by the `sigsetjmp' macro
before doing a `__setjmp' on ENV[0].__jmpbuf.
#include <signal.h>
#include <string.h> /* For the real memset prototype. */
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
sigset_t _sigintr attribute_hidden; /* Set by siginterrupt. */
#include <signal.h>
#include <stddef.h> /* For NULL. */
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(sigdelset)
libc_hidden_proto(sigsuspend)
#include <stddef.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(sigdelset)
int sigrelse (int sig)
#include <signal.h>
#include <string.h> /* For the real memset prototype. */
-libc_hidden_proto(sigaction)
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigaction) */
+/* libc_hidden_proto(sigprocmask) */
/* Set the disposition for SIG. */
__sighandler_t sigset (int sig, __sighandler_t disp)
#include <errno.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
#include "sigset-cvt-mask.h"
#else /* __UCLIBC_HAS_REALTIME__ */
/* variant without REALTIME extensions */
libc_hidden_proto(sigfillset)
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
libc_hidden_proto(sigsuspend)
static int was_sig; /* obviously not thread-safe */
#include <signal.h>
#include <string.h> /* For the real memset prototype. */
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
/* Tolerate non-threads versions of Posix */
#ifndef SA_ONESHOT
#include "_stdio.h"
-libc_hidden_proto(read)
+/* libc_hidden_proto(read) */
/* libc_hidden_proto(abort) */
/* Given a reading stream without its end-of-file indicator set and
#include "_stdio.h"
-libc_hidden_proto(write)
+/* libc_hidden_proto(write) */
/* Given a writing stream with no buffered output, write the
* data in 'buf' (which may be the stream's bufstart) of size
#include "_stdio.h"
-libc_hidden_proto(read)
-libc_hidden_proto(write)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
/* libc_hidden_proto(close) */
#ifdef __UCLIBC_HAS_LFS__
libc_hidden_proto(lseek64)
#else
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
#endif
/**********************************************************************/
#include "_stdio.h"
libc_hidden_proto(isatty)
-libc_hidden_proto(open)
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(fcntl) */
/*
* Cases:
#include "_stdio.h"
libc_hidden_proto(fdopen)
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(fcntl) */
FILE *fdopen(int filedes, const char *mode)
{
libc_hidden_def(fgets_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
strong_alias(fgets_unlocked,fgets)
libc_hidden_def(fgets)
#endif
#elif defined __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fgets)
+/* libc_hidden_proto(fgets) */
char *fgets(char *__restrict s, int n,
register FILE * __restrict stream)
{
#undef fopen64
#endif
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
FILE *fopen(const char * __restrict filename, const char * __restrict mode)
{
return _stdio_fopen(((intptr_t) filename), mode, NULL, FILEDES_ARG);
#include "_stdio.h"
#include <stdarg.h>
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
/* libc_hidden_proto(fprintf) */
int fprintf(FILE * __restrict stream, const char * __restrict format, ...)
libc_hidden_def(fputs_unlocked)
#ifndef __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
strong_alias(fputs_unlocked,fputs)
libc_hidden_def(fputs)
#endif
#elif defined __UCLIBC_HAS_THREADS__
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fputs) */
int fputs(const char * __restrict s, register FILE * __restrict stream)
{
int retval;
/* u_radix[i] <-> u_spec[i+2] for unsigned entries only */
static const char u_radix[] = "\x02\x08\x10\x10\x10\x0a";
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
int vfprintf(FILE * __restrict op, register const char * __restrict fmt,
va_list ap)
{
#warning CONSIDER: Increase buffer size for error message (non-%m case)?
#endif
-libc_hidden_proto(perror)
+/* libc_hidden_proto(perror) */
void perror(register const char *s)
{
/* If the program is calling perror, it's a safe bet that printf and
#endif /* __UCLIBC_MJN3_ONLY__ */
/* libc_hidden_proto(close) */
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
libc_hidden_proto(waitpid)
libc_hidden_proto(execl)
libc_hidden_proto(dup2)
#include "_stdio.h"
#include <stdarg.h>
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
-libc_hidden_proto(printf)
+/* libc_hidden_proto(printf) */
int printf(const char * __restrict format, ...)
{
va_list arg;
libc_hidden_proto(vsnprintf)
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
int sprintf(char *__restrict buf, const char * __restrict format, ...)
{
va_list arg;
#ifdef __UCLIBC_HAS_GLIBC_CUSTOM_STREAMS__
libc_hidden_proto(open_memstream)
/* libc_hidden_proto(fclose) */
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
#else
libc_hidden_proto(vsnprintf)
#endif
#include <stdarg.h>
#ifdef __USE_OLD_VFPRINTF__
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
#endif
libc_hidden_proto(fflush_unlocked)
#include "_stdio.h"
#include <stdarg.h>
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
int vprintf(const char * __restrict format, va_list arg)
{
libc_hidden_proto(vsnprintf)
#ifdef __USE_OLD_VFPRINTF__
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
#endif
#ifdef __UCLIBC_MJN3_ONLY__
#include <unistd.h>
#include <malloc.h>
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
libc_hidden_proto(__uc_malloc)
libc_hidden_proto(__uc_malloc_failed)
__UCLIBC_MUTEX_EXTERN(__atexit_lock);
/* libc_hidden_proto(exit) */
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
typedef void (*aefuncp) (void); /* atexit function pointer */
/* libc_hidden_proto(abort) */
/* Experimentally off - libc_hidden_proto(memset) */
-libc_hidden_proto(sigaction)
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigaction) */
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(raise)
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
/* Our last ditch effort to commit suicide */
#ifdef __UCLIBC_ABORT_INSTRUCTION__
//libc_hidden_proto(sysctl)
#endif
-libc_hidden_proto(open)
-libc_hidden_proto(read)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
struct arc4_stream {
uint8_t i;
#include <unistd.h>
#if defined __USE_BSD
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* Experimentally off - libc_hidden_proto(mempcpy) */
/* Prefix for master pseudo terminal nodes. */
#include <stdio.h>
#include <stdlib.h>
-libc_hidden_proto(sprintf)
+/* libc_hidden_proto(sprintf) */
#ifdef __UCLIBC_HAS_FLOATS__
#define MAX_NDIGIT 17
#include <unistd.h>
#include <stdlib.h>
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/* Experimentally off - libc_hidden_proto(memcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
extern __typeof(statfs) __libc_statfs;
libc_hidden_proto(__libc_statfs)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
#if !defined __ASSUME_DEVPTS__
/* Experimentally off - libc_hidden_proto(memcpy) */
/*libc_hidden_proto(memset)*/
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
libc_hidden_proto(munmap)
#ifdef L_malloc
#include <sys/mman.h>
#include <bits/uClibc_mutex.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
libc_hidden_proto(sysconf)
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
/* libc_hidden_proto(abort) */
#include <sys/mman.h>
libc_hidden_proto(munmap)
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
#include "malloc.h"
#include "heap.h"
#include <string.h>
#include <unistd.h>
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
/* libc_hidden_proto(fprintf) */
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
#include "malloc.h"
#include "heap.h"
#include <errno.h>
#include <sys/mman.h>
-libc_hidden_proto(mmap)
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(mmap) */
+/* libc_hidden_proto(sbrk) */
#include "malloc.h"
#include "heap.h"
#include <stdarg.h>
libc_hidden_proto(atoi)
-libc_hidden_proto(vfprintf)
+/* libc_hidden_proto(vfprintf) */
libc_hidden_proto(putc)
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
#include "malloc.h"
#include "heap.h"
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strlen) */
libc_hidden_proto(isatty)
-libc_hidden_proto(ioctl)
-libc_hidden_proto(fstat)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(ioctl) */
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(stat) */
#if !defined __UNIX98PTY_ONLY__
#include <sys/wait.h>
#include <stdlib.h>
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
libc_hidden_proto(wait4)
libc_hidden_proto(execl)
libc_hidden_proto(signal)
libc_hidden_proto(chown)
libc_hidden_proto(vfork)
libc_hidden_proto(fork)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
libc_hidden_proto(ptsname_r)
libc_hidden_proto(execle)
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
#include <sys/syscall.h>
#include <sys/ioctl.h>
#include <termios.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Unlock the slave pseudo terminal associated with the master pseudo
terminal specified by FD. */
#if !defined __UCLIBC_HAS_XLOCALE__ && defined __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__ctype_tolower) */
#endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
# define TOLOWER(C) tolower((C))
# endif
#endif
#elif defined __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__ctype_tolower) */
#endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
char *strcasestr(const char *s1, const char *s2)
{
#if !defined __UCLIBC_HAS_XLOCALE__ && defined __UCLIBC_HAS_CTYPE_TABLES__
/* libc_hidden_proto(__ctype_tolower) */
#endif
-libc_hidden_proto(tolower)
+/* libc_hidden_proto(tolower) */
# define TOLOWER(C) tolower((C))
# endif
#endif
static __inline__ _syscall2(int, osf_sigprocmask, int, how, unsigned long int, setval)
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
int
sigprocmask (int how, const sigset_t *set, sigset_t *oset)
{
#include <unistd.h>
#include <sys/syscall.h>
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
libc_hidden_proto(ioperm)
libc_hidden_proto(readlink)
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
libc_hidden_proto(sscanf)
libc_hidden_proto(fscanf)
/* libc_hidden_proto(fprintf) */
-libc_hidden_proto(fgets)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fgets) */
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
/* Experimentally off - libc_hidden_proto(strcmp) */
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
#include <linux/version.h>
#endif
#ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
weak_alias(__libc_sigaction,sigaction)
libc_hidden_weak(sigaction)
#endif
#include <unistd.h>
#include <sys/syscall.h>
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
void *__curbrk attribute_hidden = 0;
#include <sys/mman.h>
#include <sys/syscall.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
static _syscall6(__ptr_t, mmap2, __ptr_t, addr, size_t, len, int, prot,
int, flags, int, fd, __off_t, pgoff)
}
#ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
weak_alias(__libc_sigaction, sigaction)
libc_hidden_weak(sigaction)
#endif
#include <unistd.h>
#include <sys/syscall.h>
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
/* This must be initialized data because commons can't have aliases. */
void * __curbrk attribute_hidden = 0;
}
libc_hidden_def(__libc_fcntl)
-libc_hidden_proto(fcntl)
+/* libc_hidden_proto(fcntl) */
weak_alias(__libc_fcntl,fcntl)
libc_hidden_weak(fcntl)
#if ! defined __NR_fcntl64 && defined __UCLIBC_HAS_LFS__
#include <sys/types.h>
#include <sys/syscall.h>
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
#ifndef INLINE_SYSCALL
#define INLINE_SYSCALL(name, nr, args...) __syscall_exit (args)
#ifdef __NR_clock_gettime
_syscall2(int, clock_gettime, clockid_t, clock_id, struct timespec*, tp)
#else
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
int clock_gettime(clockid_t clock_id, struct timespec* tp)
{
# ifdef IS_IN_libc
#include <fcntl.h>
-libc_hidden_proto(open)
-libc_hidden_proto(read)
+/* libc_hidden_proto(open) */
+/* libc_hidden_proto(read) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
# define OPEN open
# define READ read
# define CLOSE close
#undef fstat64
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
#define __NR___syscall_fstat __NR_fstat
static __inline__ _syscall2(int, __syscall_fstat, int, fd, struct kernel_stat *, buf)
libc_hidden_proto(opendir)
libc_hidden_proto(readdir)
libc_hidden_proto(closedir)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
#ifdef __NR_getcwd
#elif ! defined __UCLIBC_HAS_LFS__ || ! defined __NR_getdents64
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
ssize_t __getdents (int fd, char *buf, size_t nbytes)
{
/* Experimentally off - libc_hidden_proto(strdup) */
libc_hidden_proto(getcwd)
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
#ifdef __UCLIBC_HAS_LFS__
libc_hidden_proto(stat64)
#else
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
#endif
/* Return a malloc'd string containing the current directory name.
#endif
#define __NR___libc_getpid __NR_getpid
_syscall0(pid_t, __libc_getpid)
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
weak_alias(__libc_getpid, getpid)
libc_hidden_weak(getpid)
#ifdef __NR_getppid
_syscall0(pid_t, getppid)
#else
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
pid_t getppid(void)
{
return getpid();
#include <sys/syscall.h>
#include <sys/time.h>
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
#ifdef __USE_BSD
_syscall2(int, gettimeofday, struct timeval *, tv, struct timezone *, tz)
#else
#include <stdarg.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
#define __NR___syscall_ioctl __NR_ioctl
static __always_inline
#include <setjmp.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
extern void __longjmp (__jmp_buf __env, int __val) attribute_noreturn;
libc_hidden_proto(__longjmp)
#endif
libc_hidden_def(__libc_lseek)
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(lseek) */
weak_alias(__libc_lseek,lseek)
libc_hidden_weak(lseek)
#undef lstat64
-libc_hidden_proto(lstat)
+/* libc_hidden_proto(lstat) */
#define __NR___syscall_lstat __NR_lstat
static __inline__ _syscall2(int, __syscall_lstat,
#ifdef __NR_mmap
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
#ifdef __UCLIBC_MMAP_HAS_6_ARGS__
#elif defined(__NR_mmap2)
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
#define __NR___syscall_mmap2 __NR_mmap2
static __inline__ _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr,
#include <sys/syscall.h>
#include <bits/uClibc_page.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
# if !defined __NR_mmap2 || !defined _syscall6
}
libc_hidden_def(__libc_open)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
weak_alias(__libc_open,open)
libc_hidden_weak(open)
}
#endif
-libc_hidden_proto(poll)
+/* libc_hidden_proto(poll) */
weak_alias(__libc_poll,poll)
libc_hidden_weak(poll)
#endif /* __NR_pwrite */
#if ! defined __NR_pread || ! defined __NR_pwrite
-libc_hidden_proto(read)
-libc_hidden_proto(write)
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(lseek) */
static ssize_t __fake_pread_write(int fd, void *buf,
size_t count, off_t offset, int do_pwrite)
extern __typeof(pselect) __libc_pselect;
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
libc_hidden_proto(select)
extern __typeof(read) __libc_read;
#define __NR___libc_read __NR_read
_syscall3(ssize_t, __libc_read, int, fd, __ptr_t, buf, size_t, count)
-libc_hidden_proto(read)
+/* libc_hidden_proto(read) */
weak_alias(__libc_read,read)
libc_hidden_weak(read)
#include <unistd.h>
#include <errno.h>
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
/* Defined in brk.c. */
extern void *__curbrk attribute_hidden;
/* Extend the process's data space by INCREMENT.
If INCREMENT is negative, shrink data space by - INCREMENT.
Return start of new space allocated, or -1 for errors. */
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
void * sbrk (intptr_t increment)
{
void *oldbrk;
#include <alloca.h>
#if defined __NR_sched_setaffinity
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
#define __NR___syscall_sched_setaffinity __NR_sched_setaffinity
static __inline__ _syscall3(int, __syscall_sched_setaffinity, __kernel_pid_t, pid,
#undef sigprocmask
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
#ifdef __NR_rt_sigprocmask
#include <sys/syscall.h>
#if defined __USE_POSIX199309
-libc_hidden_proto(getpid)
+/* libc_hidden_proto(getpid) */
libc_hidden_proto(getuid)
/* Experimentally off - libc_hidden_proto(memset) */
libc_hidden_proto(closelog)
#endif
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
libc_hidden_proto(sigfillset)
libc_hidden_proto(sigdelset)
-libc_hidden_proto(sigprocmask)
-libc_hidden_proto(write)
+/* libc_hidden_proto(sigprocmask) */
+/* libc_hidden_proto(write) */
libc_hidden_proto(kill)
-libc_hidden_proto(getpid)
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(getpid) */
+/* libc_hidden_proto(_exit) */
static void block_signals(void)
{
#undef stat64
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
#define __NR___syscall_stat __NR_stat
#undef stat
#ifdef __NR_time
_syscall1(time_t, time, time_t *, t)
#else
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
time_t time(time_t * t)
{
#include <sys/time.h>
libc_hidden_proto(utimes)
-libc_hidden_proto(gettimeofday)
+/* libc_hidden_proto(gettimeofday) */
int utime(const char *file, const struct utimbuf *times)
{
extern __typeof(write) __libc_write;
#define __NR___libc_write __NR_write
_syscall3(ssize_t, __libc_write, int, fd, const __ptr_t, buf, size_t, count)
-libc_hidden_proto(write)
+/* libc_hidden_proto(write) */
weak_alias(__libc_write,write)
libc_hidden_weak(write)
#if 0
extern void * __curbrk attribute_hidden;
extern int __init_brk (void) attribute_hidden;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk(void * end_data_seg)
{
if (__init_brk () == 0) {
extern void * __curbrk attribute_hidden;
extern int __init_brk (void) attribute_hidden;
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
void *
sbrk(intptr_t increment)
{
#undef _state_
}
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
void siglongjmp(sigjmp_buf state, int value )
{
#include <stdio.h>
#include <signal.h>
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigprocmask) */
int setjmp( jmp_buf state)
{
extern int __init_brk (void) attribute_hidden;
extern void *_brk(void *ptr) attribute_hidden;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk(void * end_data_seg)
{
if (__init_brk () == 0)
#include <unistd.h>
#include <sys/stat.h>
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
_syscall2(int, fstat, int, fd, struct stat *, buf)
libc_hidden_def(fstat)
#include <unistd.h>
#include <sys/stat.h>
-libc_hidden_proto(lstat)
+/* libc_hidden_proto(lstat) */
_syscall2(int, lstat, const char *, file_name, struct stat *, buf)
libc_hidden_def(lstat)
#include <sys/syscall.h>
#include <sys/mman.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
#define __NR___syscall_mmap2 __NR_mmap2
static __inline__ _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr,
extern int __init_brk (void) attribute_hidden;
extern void *_brk(void *ptr) attribute_hidden;
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
void *
sbrk(intptr_t increment)
{
#include <unistd.h>
#include <sys/stat.h>
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
_syscall2(int, stat, const char *, file_name, struct stat *, buf)
libc_hidden_def(stat)
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk (void *addr)
{
void *newbrk;
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int
brk (void *addr)
{
#include <sys/mman.h>
#include <sys/syscall.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
_syscall6(void *, mmap, void *, start, size_t, length, int, prot,
int, flags, int, fd, off_t, offset)
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk (void *addr)
{
void *__unbounded newbrk, *__unbounded scratch;
#endif
#ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
weak_alias(__libc_sigaction,sigaction)
libc_hidden_weak(sigaction)
#endif
#include <sys/syscall.h>
#include <errno.h>
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
/* This must be initialized data because commons can't have aliases. */
void * __curbrk = 0;
#include <sys/mman.h>
#include <sys/syscall.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
_syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot,
int, flags, int, fd, __off_t, offset)
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk (void *addr)
{
void *newbrk;
#include <sys/mman.h>
#include <sys/syscall.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
#if 0
/* For now, leave mmap using mmap1 since mmap2 seems
#endif
#ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
weak_alias(__libc_sigaction,sigaction)
libc_hidden_weak(sigaction)
#endif
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk (void *addr)
{
void *newbrk;
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk (void *addr)
{
void *newbrk;
#include <sys/ioctl.h>
#include <sys/syscall.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
libc_hidden_proto(tcsetattr)
libc_hidden_proto(tcgetattr)
#if ! defined __NR_pread || ! defined __NR_pwrite
-libc_hidden_proto(read)
-libc_hidden_proto(write)
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(lseek) */
static ssize_t __fake_pread_write(int fd, void *buf,
size_t count, off_t offset, int do_pwrite)
extern int __init_brk (void) attribute_hidden;
extern void *_brk(void *ptr) attribute_hidden;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk(void * end_data_seg)
{
if (__init_brk () == 0)
#include <errno.h>
#include <sys/mman.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
#ifdef HIOS
# define __SH_SYSCALL6_TRAPA 0x2E
extern int __init_brk (void) attribute_hidden;
extern void *_brk(void *ptr) attribute_hidden;
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
void *
sbrk(intptr_t increment)
{
extern int __init_brk (void) attribute_hidden;
extern void *_brk(void *ptr) attribute_hidden;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk(void * end_data_seg)
{
if (__init_brk () == 0)
extern int __init_brk (void) attribute_hidden;
extern void *_brk(void *ptr) attribute_hidden;
-libc_hidden_proto(sbrk)
+/* libc_hidden_proto(sbrk) */
void *
sbrk(intptr_t increment)
{
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk (void *addr)
{
void *newbrk;
#include <sys/mman.h>
#include <sys/syscall.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
_syscall6 (__ptr_t, mmap, __ptr_t, addr, size_t, len, int, prot,
int, flags, int, fd, __off_t, offset)
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = NULL;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int
brk (void *addr)
{
#include <errno.h>
#include <sys/syscall.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
_syscall6 (void *, mmap, void *, start, size_t, length, int, prot, int, flags,
int, fd, off_t, offset)
libc_hidden_def(mmap)
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int brk (void *addr)
{
void *__unbounded newbrk;
#include <sys/mman.h>
#include <sys/syscall.h>
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
_syscall6(void *, mmap, void *, start, size_t, length, int, prot,
int, flags, int, fd, off_t, offset)
#endif
#ifndef LIBC_SIGACTION
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
weak_alias(__libc_sigaction,sigaction)
libc_hidden_weak(sigaction)
#endif
/* This must be initialized data because commons can't have aliases. */
void *__curbrk attribute_hidden = 0;
-libc_hidden_proto(brk)
+/* libc_hidden_proto(brk) */
int
brk (void *addr)
{
#endif /* __NR_pwrite */
#if ! defined __NR_pread || ! defined __NR_pwrite
-libc_hidden_proto(read)
-libc_hidden_proto(write)
-libc_hidden_proto(lseek)
+/* libc_hidden_proto(read) */
+/* libc_hidden_proto(write) */
+/* libc_hidden_proto(lseek) */
static ssize_t __fake_pread_write(int fd, void *buf,
size_t count, off_t offset, int do_pwrite)
#include <termios.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
extern __typeof(tcdrain) __libc_tcdrain;
/* Wait for pending output to be written on FD. */
#include <termios.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Suspend or restart transmission on FD. */
int tcflow (int fd, int action)
#include <termios.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Flush pending data on FD. */
int
#include <sys/ioctl.h>
#include <sys/types.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Experimentally off - libc_hidden_proto(memset) */
/* Experimentally off - libc_hidden_proto(memcpy) */
/* Experimentally off - libc_hidden_proto(mempcpy) */
#include <sys/types.h>
libc_hidden_proto(tcgetpgrp)
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Return the foreground process group ID of FD. */
pid_t tcgetpgrp (int fd)
#include <sys/types.h>
#include <unistd.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
libc_hidden_proto(getsid)
libc_hidden_proto(tcgetpgrp)
#include <termios.h>
#include <sys/ioctl.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Send zero bits on FD. */
int
libc_hidden_proto(tcsetattr)
/* Experimentally off - libc_hidden_proto(memcpy) */
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* The difference here is that the termios structure used in the
kernel is not the same as we use in the libc. Therefore we must
#include <errno.h>
#include <unistd.h>
-libc_hidden_proto(ioctl)
+/* libc_hidden_proto(ioctl) */
/* Set the foreground process group ID of FD set PGRP_ID. */
int tcsetpgrp (int fd, pid_t pgrp_id)
#include <sys/stat.h>
libc_hidden_proto(ttyname_r)
-libc_hidden_proto(fstat)
-libc_hidden_proto(lstat)
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(lstat) */
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strlen) */
libc_hidden_proto(opendir)
#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
-libc_hidden_proto(open)
+/* libc_hidden_proto(open) */
/* libc_hidden_proto(close) */
-libc_hidden_proto(_exit)
+/* libc_hidden_proto(_exit) */
libc_hidden_proto(dup2)
libc_hidden_proto(setsid)
libc_hidden_proto(chdir)
/* Experimentally off - libc_hidden_proto(strchr) */
/* Experimentally off - libc_hidden_proto(strlen) */
libc_hidden_proto(execve)
-libc_hidden_proto(mmap)
+/* libc_hidden_proto(mmap) */
libc_hidden_proto(munmap)
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/**********************************************************************/
#define EXEC_FUNC_COMMON 0
//#include "linux_fsinfo.h"
-libc_hidden_proto(fstat)
+/* libc_hidden_proto(fstat) */
#ifndef __USE_FILE_OFFSET64
extern int fstatfs (int __fildes, struct statfs *__buf)
/* Experimentally off - libc_hidden_proto(strcpy) */
/* Experimentally off - libc_hidden_proto(strncpy) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/* uClibc makes it policy to not mess with the utmp file whenever
* possible, since I consider utmp a complete waste of time. Since
/* Experimentally off - libc_hidden_proto(strcmp) */
/* Experimentally off - libc_hidden_proto(strlen) */
/* Experimentally off - libc_hidden_proto(strncmp) */
-libc_hidden_proto(getenv)
+/* libc_hidden_proto(getenv) */
/* libc_hidden_proto(fprintf) */
/* For communication from `getopt' to the caller.
libc_hidden_proto(tcsetattr)
libc_hidden_proto(tcgetattr)
libc_hidden_proto(setvbuf)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(fileno)
libc_hidden_proto(fflush)
-libc_hidden_proto(fgets)
-libc_hidden_proto(fputs)
+/* libc_hidden_proto(fgets) */
+/* libc_hidden_proto(fputs) */
libc_hidden_proto(fputc)
libc_hidden_proto(putc)
libc_hidden_proto(__fputc_unlocked)
extern __typeof(statfs) __libc_statfs;
libc_hidden_proto(__libc_statfs)
-libc_hidden_proto(stat)
+/* libc_hidden_proto(stat) */
/* The Linux kernel headers mention this as a kind of generic value. */
libc_hidden_proto(sleep)
-libc_hidden_proto(sigaction)
-libc_hidden_proto(sigprocmask)
+/* libc_hidden_proto(sigaction) */
+/* libc_hidden_proto(sigprocmask) */
/* version perusing nanosleep */
#if defined __UCLIBC_HAS_REALTIME__
}
#endif
#else /* __UCLIBC_HAS_REALTIME__ */
-libc_hidden_proto(sigaction)
+/* libc_hidden_proto(sigaction) */
/* no nanosleep, use signals and alarm() */
static void sleep_alarm_handler(int attribute_unused sig)
{
#if defined __USE_BSD || (defined __USE_XOPEN && !defined __USE_UNIX98)
-libc_hidden_proto(fstat)
-libc_hidden_proto(fopen)
+/* libc_hidden_proto(fstat) */
+/* libc_hidden_proto(fopen) */
/* libc_hidden_proto(fclose) */
libc_hidden_proto(__fsetlocking)
libc_hidden_proto(fileno)