libshit

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

unistd.h (407B)


      1 #ifndef GUARD_THIS_A_WAY_MONOPARTICULAR_SUPERSALESMAN_PALLIATES_0132
      2 #define GUARD_THIS_A_WAY_MONOPARTICULAR_SUPERSALESMAN_PALLIATES_0132
      3 #pragma once
      4 
      5 #define pathconf pathconf_ignored
      6 #include_next <unistd.h>
      7 #undef pathconf
      8 
      9 #include <psp2/io/fcntl.h>
     10 
     11 #undef _SC_THREAD_SAFE_FUNCTIONS
     12 
     13 static inline long __attribute__((const, leaf, nothrow))
     14 pathconf(const char* path, int name)
     15 { return -1; }
     16 
     17 #endif