1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- #ifndef _STROPTS_H
- #define _STROPTS_H 1
- #include <features.h>
- #include <bits/types.h>
- #include <bits/xtitypes.h>
- #ifndef __gid_t_defined
- typedef __gid_t gid_t;
- # define __gid_t_defined
- #endif
- #ifndef __uid_t_defined
- typedef __uid_t uid_t;
- # define __uid_t_defined
- #endif
- typedef __t_scalar_t t_scalar_t;
- typedef __t_uscalar_t t_uscalar_t;
- #include <bits/stropts.h>
- __BEGIN_DECLS
- extern int isastream (int __fildes) __THROW;
- extern int getmsg (int __fildes, struct strbuf *__restrict __ctlptr,
- struct strbuf *__restrict __dataptr,
- int *__restrict __flagsp);
- extern int getpmsg (int __fildes, struct strbuf *__restrict __ctlptr,
- struct strbuf *__restrict __dataptr,
- int *__restrict __bandp, int *__restrict __flagsp);
- extern int ioctl (int __fd, unsigned long int __request, ...) __THROW;
- extern int putmsg (int __fildes, const struct strbuf *__ctlptr,
- const struct strbuf *__dataptr, int __flags);
- extern int putpmsg (int __fildes, const struct strbuf *__ctlptr,
- const struct strbuf *__dataptr, int __band, int __flags);
- extern int fattach (int __fildes, const char *__path) __THROW;
- extern int fdetach (const char *__path) __THROW;
- __END_DECLS
- #endif
|