NAME
atm_close - close a connection with an ATM endpoint
SYNOPSIS
#include <fore_atm/fore_atm_user.h>
int atm_close(fd)
int fd;
DESCRIPTION
atm_close() closes an ATM connection associated with fd. In
the case of a simplex or duplex connection, atm_close() will
close the remote side of the connection as well as closing
the connection locally. On SunOS and IRIX platforms, the
Stream associated with fd will be dismantled as well.
In the case of a multicast connection, the behavior depends
on the role of the caller. If the sender calls atm_close(),
all destination branches of the connection will be closed.
If one of the destinations calls atm_close(), only its
branch of the multicast connection will be closed; the
remaining destinations will be unaffected. The sender's
connection will be closed when the last destination calls
atm_close().
RETURN VALUES
atm_close() returns the result of the close(2) system call.
ERRORS
Error conditions are returned from the close(2) system call.
SEE ALSO
atm_intro(4N)