Answer the question
In order to leave comments, you need to log in
Where can I talk about functions like fork, setsid, chdir and others in C (C++)?
Hello. The fact is that I have been studying C ++ for a long time, but I still do not understand how interaction with the system takes place without an API. Let's say I want to write a *nix daemon. But I didn't see anything about it in any of the plus books I studied. I know that there is a fork function that creates a process, there are setsid and chdir, but how to use them and how many more such functions that are not third-party libraries, but are part of the language? How can I find information about these features? And do these functions have anything to do with system calls? Thanks in advance.
Answer the question
In order to leave comments, you need to log in
I know, that there is such a fork function that creates a process,
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question