2019-08-25 00:46:40 -04:00
|
|
|
#ifndef _OS_LIBC_H_
|
2019-11-03 14:36:27 -05:00
|
|
|
#define _OS_LIBC_H_
|
2019-08-25 00:46:40 -04:00
|
|
|
|
2019-11-03 14:36:27 -05:00
|
|
|
#include "ultratypes.h"
|
2019-08-25 00:46:40 -04:00
|
|
|
|
2019-11-03 14:36:27 -05:00
|
|
|
// Old deprecated functions from strings.h, replaced by memcpy/memset.
|
|
|
|
extern void bcopy(const void *, void *, size_t);
|
|
|
|
extern void bzero(void *, size_t);
|
2019-08-25 00:46:40 -04:00
|
|
|
|
2023-08-17 08:56:02 -04:00
|
|
|
/* Printf */
|
|
|
|
|
|
|
|
extern int sprintf(char *s, const char *fmt, ...);
|
|
|
|
extern void osSyncPrintf(const char *fmt, ...);
|
|
|
|
extern void osAsyncPrintf(const char *fmt, ...);
|
|
|
|
extern int osSyncGetChars(char *buf);
|
|
|
|
extern int osAsyncGetChars(char *buf);
|
|
|
|
|
2019-08-25 00:46:40 -04:00
|
|
|
#endif /* !_OS_LIBC_H_ */
|