diff options
author | Bruce Evans <bde@FreeBSD.org> | 2002-09-21 22:05:37 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2002-09-21 22:05:37 +0000 |
commit | a4c8a68c865b593b46129ea44623f31a989d31fe (patch) | |
tree | db2a3752bb11cea14684460ad12eee8b655c35cd /include/stdlib.h | |
parent | a0a95acece1d200759bbe965fc7cc3d772cb3477 (diff) | |
download | src-a4c8a68c865b593b46129ea44623f31a989d31fe.tar.gz src-a4c8a68c865b593b46129ea44623f31a989d31fe.zip |
Notes
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 6a4364a61a17..b8dddedb6f30 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -60,13 +60,13 @@ typedef __wchar_t wchar_t; #endif typedef struct { - int quot; /* quotient */ - int rem; /* remainder */ + int quot; /* quotient */ + int rem; /* remainder */ } div_t; typedef struct { - long quot; /* quotient */ - long rem; /* remainder */ + long quot; + long rem; } ldiv_t; #ifndef NULL @@ -99,18 +99,18 @@ long labs(long) __pure2; ldiv_t ldiv(long, long) __pure2; void *malloc(size_t); int mblen(const char *, size_t); -size_t mbstowcs(wchar_t *__restrict , const char *__restrict, size_t); +size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t); int mbtowc(wchar_t * __restrict, const char * __restrict, size_t); void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); int rand(void); void *realloc(void *, size_t); void srand(unsigned); -double strtod(const char *__restrict, char **__restrict); -/* float strtof(const char *__restrict, char **__restrict); */ -long strtol(const char *__restrict, char **__restrict, int); +double strtod(const char * __restrict, char ** __restrict); +/* float strtof(const char * __restrict, char ** __restrict); */ +long strtol(const char * __restrict, char ** __restrict, int); /* long double - strtold(const char *__restrict, char **__restrict); */ + strtold(const char * __restrict, char ** __restrict); */ unsigned long strtoul(const char * __restrict, char ** __restrict, int); int system(const char *); @@ -144,14 +144,14 @@ long long /* LONGLONG */ lldiv_t lldiv(long long, long long) __pure2; /* LONGLONG */ -long long - strtoll(const char *__restrict, char **__restrict, int); +long long + strtoll(const char * __restrict, char ** __restrict, int); /* LONGLONG */ unsigned long long - strtoull(const char *__restrict, char **__restrict, int); + strtoull(const char * __restrict, char ** __restrict, int); #endif /* __LONG_LONG_SUPPORTED */ -void _Exit(int) __dead2; +void _Exit(int) __dead2; #endif /* __ISO_C_VISIBLE >= 1999 */ /* @@ -176,10 +176,10 @@ void unsetenv(const char *); /* XXX XSI requires pollution from <sys/wait.h> here. We'd rather not. */ /* long a64l(const char *); */ double drand48(void); -/* char *ecvt(double, int, int *__restrict, int *__restrict); */ +/* char *ecvt(double, int, int * __restrict, int * __restrict); */ double erand48(unsigned short[3]); -/* char *fcvt(double, int, int *__restrict, int *__restrict); */ -/* char *gcvt(double, int, int *__restrict, int *__restrict); */ +/* char *fcvt(double, int, int * __restrict, int * __restrict); */ +/* char *gcvt(double, int, int * __restrict, int * __restrict); */ #ifndef _GETSUBOPT_DECLARED int getsubopt(char **, char *const *, char **); #define _GETSUBOPT_DECLARED @@ -196,7 +196,7 @@ int mkstemp(char *); #endif #ifndef _MKTEMP_DECLARED char *mktemp(char *); -#define _MKTEMP_DECLARED +#define _MKTEMP_DECLARED #endif long mrand48(void); long nrand48(unsigned short[3]); @@ -217,10 +217,10 @@ void srandom(unsigned long); /* int unlockpt(int); */ #endif /* __XSI_VISIBLE */ - #if __BSD_VISIBLE extern const char *_malloc_options; -extern void (*_malloc_message)(const char *, const char *, const char *, const char *); +extern void (*_malloc_message)(const char *, const char *, const char *, + const char *); void *alloca(size_t); /* built-in for gcc */ __uint32_t @@ -260,7 +260,8 @@ void sranddev(void); void srandomdev(void); /* Deprecated interfaces, to be removed in FreeBSD 6.0. */ -__int64_t strtoq(const char *, char **, int); +__int64_t + strtoq(const char *, char **, int); __uint64_t strtouq(const char *, char **, int); #endif /* __BSD_VISIBLE */ |