stdlib.h (cd18ccdc302e93b1adfd0263a7270df444ca9ead) stdlib.h (7a4a63270ffd4cf0deae379b3ad32f57ea3c3e9d)
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 54 unchanged lines hidden (view full) ---

63 int rem; /* remainder */
64} div_t;
65
66typedef struct {
67 long quot; /* quotient */
68 long rem; /* remainder */
69} ldiv_t;
70
1/*-
2 * Copyright (c) 1990, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 54 unchanged lines hidden (view full) ---

63 int rem; /* remainder */
64} div_t;
65
66typedef struct {
67 long quot; /* quotient */
68 long rem; /* remainder */
69} ldiv_t;
70
71#ifdef __LONG_LONG_SUPPORTED
72typedef struct {
73 long long quot;
74 long long rem;
75} lldiv_t;
76#endif
77
71#ifndef NULL
72#define NULL 0
73#endif
74
75#define EXIT_FAILURE 1
76#define EXIT_SUCCESS 0
77
78#define RAND_MAX 0x7fffffff

--- 34 unchanged lines hidden (view full) ---

113int system __P((const char *));
114
115int mblen __P((const char *, size_t));
116size_t mbstowcs __P((wchar_t *, const char *, size_t));
117int wctomb __P((char *, wchar_t));
118int mbtowc __P((wchar_t *, const char *, size_t));
119size_t wcstombs __P((char *, const wchar_t *, size_t));
120
78#ifndef NULL
79#define NULL 0
80#endif
81
82#define EXIT_FAILURE 1
83#define EXIT_SUCCESS 0
84
85#define RAND_MAX 0x7fffffff

--- 34 unchanged lines hidden (view full) ---

120int system __P((const char *));
121
122int mblen __P((const char *, size_t));
123size_t mbstowcs __P((wchar_t *, const char *, size_t));
124int wctomb __P((char *, wchar_t));
125int mbtowc __P((wchar_t *, const char *, size_t));
126size_t wcstombs __P((char *, const wchar_t *, size_t));
127
128#ifdef __LONG_LONG_SUPPORTED
129long long
130 llabs __P((long long)) __pure2;
131lldiv_t lldiv __P((long long, long long)) __pure2;
132#endif
133
121#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
122extern char *_malloc_options;
123extern void (*_malloc_message)__P((char *p1, char *p2, char *p3, char *p4));
124
125int putenv __P((const char *));
126int setenv __P((const char *, const char *, int));
127
128double drand48 __P((void));

--- 64 unchanged lines hidden ---
134#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
135extern char *_malloc_options;
136extern void (*_malloc_message)__P((char *p1, char *p2, char *p3, char *p4));
137
138int putenv __P((const char *));
139int setenv __P((const char *, const char *, int));
140
141double drand48 __P((void));

--- 64 unchanged lines hidden ---