Subversion Repositories HelenOS

Rev

Rev 1787 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1787 Rev 1866
Line 30... Line 30...
30
 * @{
30
 * @{
31
 */
31
 */
32
/** @file
32
/** @file
33
 */
33
 */
34
 
34
 
35
#ifndef __LIBC__STDLIB_H__
35
#ifndef LIBC_STDLIB_H_
36
#define __LIBC__STDLIB_H__
36
#define LIBC_STDLIB_H_
37
 
37
 
38
#include <unistd.h>
38
#include <unistd.h>
39
#include <malloc.h>
39
#include <malloc.h>
40
 
40
 
41
#define abort() _exit(1)
41
#define abort() _exit(1)
Line 53... Line 53...
53
static inline void srand(unsigned int seed)
53
static inline void srand(unsigned int seed)
54
{
54
{
55
    srandom(seed);
55
    srandom(seed);
56
}
56
}
57
 
57
 
58
 
-
 
59
#endif
58
#endif
60
 
59
 
61
 
-
 
62
 /** @}
60
/** @}
63
 */
61
 */
64
 
-
 
65
 
-