libshit

Just some random shit
git clone https://git.neptards.moe/neptards/libshit.git
Log | Files | Refs | Submodules | README | LICENSE

errno.h (236B)


      1 #pragma once
      2 
      3 #define _REENT_ONLY
      4 #include_next <sys/errno.h>
      5 #undef _REENT_ONLY
      6 
      7 #ifdef __cplusplus
      8 extern "C"
      9 #endif
     10 int* _sceLibcErrnoLoc() __attribute__((const, leaf, nothrow));
     11 
     12 #undef __errno_r
     13 #define errno (*_sceLibcErrnoLoc())