satmp_get_lrtok_reply(2)

satmp_get_lrtok_reply - send SATMP_GET_LTROK_REPLY message to the kernel

As shipped in IRIX 6.5.30. Unchanged since IRIX 6.5.

NAME
     satmp_get_lrtok_reply - send SATMP_GET_LTROK_REPLY message to the kernel

C SYNOPSIS
     #include <sys/t6satmp.h>

     int satmp_get_lrtok_reply (int fd, const void *buf, size_t size);

DESCRIPTION
     satmp_get_lrtok_reply sends a SATMP_GET_LRTOK_REPLY message to the
     kernel.  fd is a file descriptor that references the token-mapping
     daemon's socket.  buf is the address of a buffer containing the message.
     size is the size of the message in bytes.

ERRORS
     satmp_get_lrtok_reply will fail if one or more of the following are true:

     [ENOPKG]       Trusted Networking is not configured on this system.

     [EPERM]        fd doesn't refer to the token-mapping socket.

     [EFAULT]       buf doesn't refer to memory in the calling processes
                    address space.

     [ENOMEM]       The kernel cannot allocate sufficient memory to hold the
                    message.

RETURN VALUE
     satmp_get_lrtok_reply returns 0 if successful. A return value of -1
     indicates an error and errno is set to indicate the error.

SEE ALSO
     satmp_done(2), satmp_get_attr_reply(2), satmp_init(2),
     satmp_init_reply(2), satmp(7).

ORIGIN
     Silicon Graphics, Inc.