meta: move photon/libc to root

This commit is contained in:
2026-02-08 20:45:25 +00:00
parent f00e74260d
commit 345a37962e
140 changed files with 0 additions and 0 deletions

19
libc/include/errno.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef ERRNO_H_
#define ERRNO_H_
#include <sys/_errno.h>
#define errno (__get_errno())
#if defined(__cplusplus)
extern "C" {
#endif
extern void __set_errno(int v);
extern int __get_errno(void);
#if defined(__cplusplus)
}
#endif
#endif