开发者

source code for execve() and fork() [closed]

开发者 https://www.devze.com 2023-02-04 00:17 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 7 years ago.

开发者_运维技巧 Improve this question

I would like to look at the source code for execve() and fork().Could you please tell me any websites that gives the source code and also some explaination for it.


exec() and fork() both date to the early ages of UNIX, so one good place to see the code along with commentary on it is Lions' Book (a commentary on the source code for UNIX version 6).

In v6, fork() and exec() are in ken/sys1.c.


Source can be found here: http://www.google.com/codesearch/p?hl=en#KMCRKdMbI4g/kernel/fork.c&q=fork&sa=N&cd=1&ct=rc

0

精彩评论

暂无评论...
验证码 换一张
取 消