VMS Help  —  POSIX Threads, PTHREAD routines, pthread_setname_np, Return Values
    If an error condition occurs, this routine returns an integer
    value indicating the type of error. Possible return values are as
    follows:

    Return      Description

    0           Successful completion.
    [EINVAL]    The length in characters of name exceeds 31.
    [ENOMEM]    Insufficient memory to create a copy of the object
                name string.
    [ESRCH]     The thread specified by thread does not exist.
Close Help