haiku/headers/compatibility/bsd/stdlib.h
Alexander von Gluck IV 3a747315b2 stdlib: Add common bsd mkstemps function
Change-Id: I8c54f4b42e8b41f9a769b8b53f074a307b1a054c
2018-02-26 21:46:25 +00:00

34 lines
478 B
C

/*
* Copyright 2006-2010 Haiku Inc. All Rights Reserved.
* Distributed under the terms of the MIT License.
*/
#ifndef _BSD_STDLIB_H_
#define _BSD_STDLIB_H_
#include_next <stdlib.h>
#ifdef _BSD_SOURCE
#ifdef __cplusplus
extern "C" {
#endif
int daemon(int noChangeDir, int noClose);
const char *getprogname(void);
void setprogname(const char *programName);
int mkstemps(char *templat, int slen);
#ifdef __cplusplus
}
#endif
#endif
#endif /* _BSD_STDLIB_H_ */