blob: 7b61c736d489c5b571d056c5bcb54dfd2e8cd4ba [file] [log] [blame]
#ifndef _BITS_ERRNO_H
#define _BITS_ERRNO_H
#ifndef __ASSEMBLER__
int *__errno_location_tls(void);
char *__errstr_location_tls(void);
extern int *(*ros_errno_loc)(void);
extern char *(*ros_errstr_loc)(void);
int *__errno_location(void);
#define errno (*__errno_location())
char *errstr(void); /* can't macro, errstr is used internally in libc */
# ifdef libc_hidden_proto
libc_hidden_proto(__errno_location_tls)
libc_hidden_proto(__errstr_location_tls)
libc_hidden_proto(errstr)
# endif
#endif
#include <ros/errno.h>
#endif