So I need to know what number a certain system call has , it says that I can check which number a systemcall has in unistd.h file but how/where can I find that file?
Asked
Active
Viewed 69 times
2 Answers
0
Probably under /usr/include/
...
Try find /usr/include/ -name unistd.h
, assuming you're actually developing on a linux box!
That will list a bunch of platform-specific variants, etc.

lane
- 633
- 12
- 18
0
In terminal type command find /usr/include -name unistd.h
this gets you location of unistd.h in your system. Probably it will have some inclusions in /usr/include/bits
and other subdirectories.

Pavel Kucera
- 124
- 1
- 4