satmpgetattrreply(2) satmpgetattrreply(2)
NAME
satmp_get_attr_reply - send SATMP_GET_ATTR_REPLY message to the kernel
C SYNOPSIS
#include <sys/t6satmp.h>
int satmpgetattrreply (int fd, const void *buf, sizet size);
DESCRIPTION
satmp_get_attr_reply sends a SATMPGETATTRREPLY 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_attr_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_attr_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_lrtok_reply(2), satmp_init(2),
satmp_init_reply(2), satmp(7).
ORIGIN
Silicon Graphics, Inc.
Page 1