Process.toNullEndedArray

Convert an associative array of strings to an array of pointers to char with a terminating null character (C strings). The resulting array has a null pointer at the end. This is the format expected by the execv*() family of POSIX functions for environment variables.

  1. const(char)*[] toNullEndedArray(const(char)[] elem0, const(char[])[] src)
  2. const(char)*[] toNullEndedArray(const(char[])[char[]] src)
    class Process
    version(!Windows && Posix)
    protected static
    const(char)*[]
    toNullEndedArray
    (
    const(char[])[char[]] src
    )

Meta