Files
c3c/lib/std/os/posix/files.c3
Christoffer Lerno ab93389031 - Updated posix/win32 stdlib namespacing
- Process stdlib
- Fix to void expression blocks
2023-06-21 16:27:53 +02:00

12 lines
324 B
C

module std::os::posix @if(POSIX_LIBC);
import libc;
extern fn int rmdir(ZString);
extern fn int mkdir(ZString, ushort mode_t);
extern fn int chdir(ZString);
extern fn ZString getcwd(char* pwd, usz len);
def Mode_t = uint;
def Pid_t = int;
extern fn CInt pipe(CInt[2]* pipes);
extern fn CFile fdopen(CInt fd, ZString mode);