posix-next Logo
  • Getting Started
  • POSIX-next
    • Overview
    • POSIX Conformance
    • XSI Conformance
    • POSIX Application Environment Profiles (AEP)
    • Implementation Details
    • POSIX Option Groups
    • POSIX Options
      • Options that correspond to Option Groups
      • Option Group-like Options
        • _POSIX_ASYNCHRONOUS_IO
        • _POSIX_CPUTIME
        • _POSIX_FSYNC
        • _POSIX_MEMLOCK
        • _POSIX_MEMLOCK_RANGE
        • _POSIX_MESSAGE_PASSING
        • _POSIX_PRIORITY_SCHEDULING
        • _POSIX_SHARED_MEMORY_OBJECTS
        • _POSIX_SPAWN
        • _POSIX_SYNCHRONIZED_IO
        • _POSIX_THREAD_ATTR_STACKADDR
        • _POSIX_THREAD_ATTR_STACKSIZE
        • _POSIX_THREAD_CPUTIME
        • _POSIX_THREAD_PRIO_INHERIT
        • _POSIX_THREAD_PRIO_PROTECT
        • _POSIX_THREAD_PRIORITY_SCHEDULING
        • _POSIX_THREAD_SAFE_FUNCTIONS
        • _POSIX_TIMEOUTS
        • _XOPEN_STREAMS
      • Options without interfaces of their own
    • Configuration Options
  • POSIX API Search
  • Samples
  • Metrics
  • Upstreaming Zephyr patches

Reference

  • Zephyr 4.4.1 docs
  • Zephyr POSIX docs
  • Open Group POSIX
posix-next
  • posix-next »
  • POSIX-next »
  • POSIX Options »
  • _POSIX_SPAWN

_POSIX_SPAWN

A spawned child is a new process running a prelinked executable image: the path (or file) argument is resolved by the application-provided posix_spawn_image_lookup() registry rather than loaded from a file system.

Enable this option with CONFIG_POSIX_SPAWN.

_POSIX_SPAWN

API

Supported

posix_spawn()

yes

posix_spawn_file_actions_addclose()

yes

posix_spawn_file_actions_adddup2()

yes

posix_spawn_file_actions_addopen()

yes

posix_spawn_file_actions_destroy()

yes

posix_spawn_file_actions_init()

yes

posix_spawnattr_destroy()

yes

posix_spawnattr_getflags()

yes

posix_spawnattr_getpgroup()

yes

posix_spawnattr_getschedparam()

yes

posix_spawnattr_getschedpolicy()

yes

posix_spawnattr_getsigdefault()

yes

posix_spawnattr_getsigmask()

yes

posix_spawnattr_init()

yes

posix_spawnattr_setflags()

yes

posix_spawnattr_setpgroup()

yes

posix_spawnattr_setschedparam()

yes

posix_spawnattr_setschedpolicy()

yes

posix_spawnattr_setsigdefault()

yes

posix_spawnattr_setsigmask()

yes

posix_spawnp()

yes

_POSIX_SPAWN
Previous Next

© Copyright 2015-2026 Zephyr Project members and individual contributors.

Built with Sphinx using a theme provided by Read the Docs.