# freebsd: use libc interface instead system calls · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/11ced4f99d95ec144d9dbb79ead335b571f714fe)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 11ced4f99d95ec144d9dbb79ead335b571f714fe

Requested commit: 11ced4f99d95ec144d9dbb79ead335b571f714fe

Commit: 11ced4f99d95ec144d9dbb79ead335b571f714fe

Tree: 2ca9671ed971a32728d7897d9d7f564b052978f7

Author: Marcio Giaxa

Committer: Marcio Giaxa

## Message

```
freebsd: use libc interface instead system calls

Remove all syscalls references

 * dup2()
 * chdir()
 * execve()
 * fork()
 * getcwd()
 * isatty()
 * readlink()
 * mkdir()
 * mmap()
 * munmap()
 * read()
 * rmdir()
 * symlink()
 * pread()
 * write()
 * pwrite()
 * rename()
 * open()
 * close()
 * lseek()
 * exit()
 * unlink()
 * waitpid()
 * nanosleep()
 * setreuid()
 * setregid()
 * raise()
 * fstat()
 * pipe()
 * added pipe2() extern c fn

```

## Parents

- [6cfcdbde2b902476863cb912190f20ce5e02277c](https://git.cafe/gitcafe/zig/commit/6cfcdbde2b902476863cb912190f20ce5e02277c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/11ced4f99d95ec144d9dbb79ead335b571f714fe?format=markdown)
