shell::platform

Module unix

Source

Modules§

Macros§

Structs§

Constants§

Traits§

Functions§

  • arg_into_args πŸ”’
  • close_extra_fds πŸ”’ ⚠
  • cvt πŸ”’
  • exec πŸ”’
  • os2c πŸ”’
  • rlimit_to_c πŸ”’
  • send_error_to_parent πŸ”’ ⚠
    Send an error code back tot he parent from a child process indicating it failed to fork. This function exits the child when done (i.e. never returns). ONLY call on error in a child process. SAFETY: this is doing β€œunsafe” libc/process stuff…
  • setup_group_term πŸ”’
    Setup the process group for the current pid as well term if interactive. Call from both the parent and child proc to avoid race conditions.

Type Aliases§