mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 05:20:06 +00:00
c19559b0bc
* include/aio.h: Remove __THROW from internal interfaces. __THROW is only need in external header files that might be compiled by a C++ compiler. * include/alloca.h: Likewise. * include/db.h: Likewise. * include/dirent.h: Likewise. * include/execinfo.h: Likewise. * include/fpu_control.h: Likewise. * include/glob.h: Likewise. * include/grp.h: Likewise. * include/libintl.h: Likewise. * include/math.h: Likewise. * include/math.h: Likewise. * include/mntent.h: Likewise. * include/mntent.h: Likewise. * include/netdb.h: Likewise. * include/pwd.h: Likewise. * include/sched.h: Likewise. * include/shadow.h: Likewise. * include/stdlib.h: Likewise. * include/sys/file.h: Likewise. * include/sys/gmon.h: Likewise. * include/sys/ioctl.h: Likewise. * include/sys/socket.h: Likewise. * include/sys/stat.h: Likewise. * include/sys/sysinfo.h: Likewise. * include/sys/time.h: Likewise. * include/sys/times.h: Likewise. * include/sys/uio.h: Likewise. * include/sys/wait.h: Likewise. * include/termios.h: Likewise. * include/time.h: Likewise. * include/ulimit.h: Likewise. * include/utmp.h: Likewise. * include/wchar.h: Likewise. 1999-11-22 Andreas Jaeger <aj@suse.de> * sunrpc/rpc_clntout.c (printbody): Fix -CLMNab output. Patch by Jerry Perkins <jrperkins@iname.com>, closes PR libc/1456+1457. 1999-11-22 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/siglist.h: Avoid declaring the same field twice if SIGPWR is defined to SIGLOST. * sysdeps/sparc/sparc32/memcpy.S: bcopy takes size_t argument, not signed, so we should not special case it for negative args. * sysdeps/sparc/sparc32/sparcv9/memmove.c: Don't use generic memmove, use the one provided in memcpy.S. * sysdeps/sparc/sparc64/memcpy.S: bcopy should handle overlapping copies like memmove, while the previous version worked like memcpy. Implement optimized assembly memmove. * sysdeps/sparc/sparc64/memmove.c: New file. 1999-11-23 Ulrich Drepper <drepper@cygnus.com> * po/cs.po: Update from translators. 1999-11-23 Andreas Jaeger <aj@suse.de>
60 lines
2.1 KiB
C
60 lines
2.1 KiB
C
#ifndef _STDLIB_H
|
|
|
|
#ifdef __need_malloc_and_calloc
|
|
#define __Need_M_And_C
|
|
#endif
|
|
|
|
#include <stdlib/stdlib.h>
|
|
|
|
/* Now define the internal interfaces. */
|
|
#ifndef __Need_M_And_C
|
|
extern int32_t __random (void);
|
|
extern void __srandom (unsigned int __seed);
|
|
extern void *__initstate (unsigned int __seed, void *__statebuf,
|
|
size_t __statelen);
|
|
extern void *__setstate (void *__statebuf);
|
|
extern int __random_r (struct random_data *__buf, int32_t *__result);
|
|
extern int __srandom_r (unsigned int __seed, struct random_data *__buf);
|
|
extern int __initstate_r (unsigned int __seed, void *__statebuf,
|
|
size_t __statelen, struct random_data *__buf);
|
|
extern int __setstate_r (void *__statebuf, struct random_data *__buf);
|
|
extern int __rand_r (unsigned int *__seed);
|
|
extern int __erand48_r (unsigned short int __xsubi[3],
|
|
struct drand48_data *__buffer, double *__result);
|
|
extern int __nrand48_r (unsigned short int __xsubi[3],
|
|
struct drand48_data *__buffer,
|
|
long int *__result);
|
|
extern int __jrand48_r (unsigned short int __xsubi[3],
|
|
struct drand48_data *__buffer,
|
|
long int *__result);
|
|
extern int __srand48_r (long int __seedval,
|
|
struct drand48_data *__buffer);
|
|
extern int __seed48_r (unsigned short int __seed16v[3],
|
|
struct drand48_data *__buffer);
|
|
extern int __lcong48_r (unsigned short int __param[7],
|
|
struct drand48_data *__buffer);
|
|
|
|
/* Internal function to compute next state of the generator. */
|
|
extern int __drand48_iterate (unsigned short int __xsubi[3],
|
|
struct drand48_data *__buffer);
|
|
|
|
extern int __setenv (__const char *__name, __const char *__value,
|
|
int __replace);
|
|
extern void __unsetenv (__const char *__name);
|
|
extern int __clearenv (void);
|
|
extern char *__canonicalize_file_name (__const char *__name);
|
|
extern char *__realpath (__const char *__name, char *__resolved);
|
|
extern int __ptsname_r (int __fd, char *__buf, size_t __buflen);
|
|
extern int __getpt (void);
|
|
|
|
extern int __add_to_environ (const char *name, const char *value,
|
|
const char *combines, int replace);
|
|
|
|
extern void _quicksort (void *const pbase, size_t total_elems,
|
|
size_t size, __compar_fn_t cmp);
|
|
|
|
#endif
|
|
#undef __Need_M_And_C
|
|
|
|
#endif /* include/stdlib.h */
|