Back to index

glibc  2.9
Functions
spawnattr_init.c File Reference
#include <spawn.h>
#include <string.h>

Go to the source code of this file.

Functions

int posix_spawnattr_init (posix_spawnattr_t *attr)

Function Documentation

Definition at line 24 of file spawnattr_init.c.

{
  /* All elements have to be initialized to the default values which
     is generally zero.  */
  memset (attr, '\0', sizeof (*attr));

  return 0;
}