VMS Help  —  CRTL  setsid  Return Values
    x                  The process group ID of the calling process.
    (pid_t)-1          Indicates an error. The function sets errno to
                       the following value:

                       o  EPERM - The calling process is already a
                          process group leader, or the process group
                          ID of a process other than the calling
                          process matches the process ID of the
                          calling process.
Close Help