mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-13 04:38:20 +00:00
libc: fork, getpid, and wait4
This patch complements the C runtime with support for fork, getpid, and wait4 (and its cousin 'waitpid'). Fixes #3478
This commit is contained in:
committed by
Christian Helmuth
parent
581785a48f
commit
bb5827b4e3
@ -20,6 +20,7 @@
|
||||
#include <os/path.h>
|
||||
#include <base/allocator.h>
|
||||
#include <base/id_space.h>
|
||||
#include <util/xml_generator.h>
|
||||
|
||||
/* libc includes */
|
||||
#include <stdlib.h>
|
||||
@ -115,6 +116,8 @@ namespace Libc {
|
||||
void preserve(int libc_fd);
|
||||
|
||||
File_descriptor *find_by_libc_fd(int libc_fd);
|
||||
|
||||
void generate_info(Genode::Xml_generator &);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user