Page MenuHomePhorge

fork.h
No OneTemporary

Size
357 B
Referenced Files
None
Subscribers
None
#ifndef FORK_H
#define FORK_H
#include <cstdint>
#include <string>
#ifndef CXXBRIDGE1_ENUM_Fork
#define CXXBRIDGE1_ENUM_Fork
enum class Fork: std::uint8_t {
Parent,
Child
};
#endif
using Callback = void (*)();
pid_t set_sid();
void close_fd();
Fork fork_process();
extern "C" int32_t try_fork(bool nochdir, bool noclose, Callback callback);
#endif

File Metadata

Mime Type
text/x-c
Expires
Mon, Jul 14, 3:49 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
338935
Default Alt Text
fork.h (357 B)

Event Timeline