Newer
Older
barebox / include / errno.h
@Sascha Hauer Sascha Hauer on 25 May 2009 203 bytes add strerror function
#ifndef __ERRNO_H
#define __ERRNO_H

#include <asm-generic/errno.h>

extern int errno;

void perror(const char *s);
const char *errno_str(void);
const char *strerror(int errnum);

#endif /* __ERRNO_H */