Rechercher une page de manuel
sctp_generic_sendmsg.2freebsd
Langue: en
Version: 338349 (ubuntu - 24/10/10)
Section: 2 (Appels système)
BSD mandoc
NAME
sctp_generic_sendmsg sctp_generic_sendmsg_iov - send data to a peer.LIBRARY
Lb libcSYNOPSIS
In sys/types.h In sys/socket.h In netinet/sctp.h Ft int Fn sctp_generic_sendmsg int s void *msg int msglen struct sockaddr *to socklen_t len struct sctp_sndrcvinfo *sinfo int flags Ft int Fn sctp_generic_sendmsg_iov int s struct iovec *iov int iovlen struct sockaddr *to struct sctp_sndrcvinfo *sinfo int flagsDESCRIPTION
The Fn sctp_generic_sendmsg and Fn sctp_generic_sendmsg_iov are the true system calls used by the Fn sctp_sendmsg and Fn sctp_send function calls. These are more efficient since they are true system calls but they are specific to FreeBSD and can be expected NOT to be present on any other Operating System. For detailed useage please see either the Fn sctp_send or Fn sctp_sendmsg function calls.RETURN VALUES
The call returns the number of bytes written on success and -1 upon failure.ERRORS
- Bq Er EBADF
- The argument Fa s is not a valid descriptor.
- Bq Er ENOTSOCK
- The argument Fa s is not a socket.
SEE ALSO
sctp_send3, sctp_sendmsg3, sctp_sendmsgx3, sctp_sendx3, sctp(4)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre