Back to index

glibc  2.9
Functions
sockatmark.c File Reference
#include <sys/ioctl.h>
#include <sys/socket.h>

Go to the source code of this file.

Functions

int sockatmark (int fd)

Function Documentation

int sockatmark ( int  fd)

Definition at line 24 of file sockatmark.c.

{
  int answ;

  return __ioctl (fd, SIOCATMARK, &answ) == -1 ? -1 : answ;
}