diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2023-03-11 06:03:02 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2024-09-30 03:52:20 +0000 |
| commit | c2caf3b3313fe73bfc9b4b984c21da8d571f8798 (patch) | |
| tree | 1c4899b93da7b4bc97aa9cc66547df0e12f15d1d /contrib | |
| parent | 5190e6341ce5121cb17df109f9dc56ab8674aa5c (diff) | |
flua: lposix: add more useful functions for general purpose scripts
unistd:
- _exit
- close
- fork
- getpid
- pipe
- read
- write
libgen:
- basename, dirname
stdlib:
- realpath
These are sufficient for a number of real world scenarios. In our first
application of them, we use the libgen+stdlib additions to grab the
script dir based on argv[0]. The unistd assortment is then used to
outsource a bunch of work to forks and report back to the main process.
Reviewed by: emaste, imp
Differential Revision: https://reviews.freebsd.org/D39083
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
