Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 505 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 505 Bytes

vfork_utils

A teeny-tiny library that is intended to replace some shell spawning functions such as popen() and system() with equivalents that use vfork()

The intended use for this is as follows:

 LD_PRELOAD=libvfork_utils.so ./my_prog

It will replace the system's popen() and system() with equivalents that use vfork() instad of fork(), which is very handy for Xenomai-enabled programs, or in any environment where Linux's copy-on-write feature is undesirable.