/****************************************************************************** * $Id: ioctl.c,v 1.3 1993/09/16 08:51:54 courtel Exp $ * * Kind: C library of functions * Abstract: Call ioctl function with the selected commands * * Copyright 1990 - 1993 Centre d'Etudes de la Navigation Aerienne (CENA) * * PARADISE is free software; you can redistribute it and/or modify it * under the terms of the GNU Library General Public License * as published by the Free Software Foundation; * * PARADISE is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Library General Public License for more details. * * You should have received a copy of the GNU Library General Public License * along with PARADISE; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. ******************************************************************************/ #include int fioasync (fd, arg) int fd; int *arg; { return ioctl (fd, FIOASYNC, arg); } #ifdef HPUX int fiossaiostat (fd, arg) int fd; int *arg; { return ioctl (fd, FIOSSAIOSTAT, arg); } int fiossaioown (fd, arg) int fd; int *arg; { return ioctl (fd, FIOSSAIOOWN, arg); } #endif HPUX int siocspgrp (fd, arg) int fd; int *arg; { return ioctl (fd, SIOCSPGRP, arg); } int siocatmark (fd, arg) int fd; int *arg; { return ioctl (fd, SIOCATMARK, arg); }