![]() |
posix-next API 0.1.0
Out-of-tree Zephyr POSIX module
|
XSI STREAMS interface (<stropts.h>) More...
Go to the source code of this file.
Data Structures | |
| struct | strbuf |
| Buffer descriptor for STREAMS getmsg() / putmsg() control and data parts. More... | |
Macros | |
| #define | RS_HIPRI BIT(0) |
| Flag: message carries high-priority data. | |
Functions | |
| int | putmsg (int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, int flags) |
| Send a STREAMS message downstream. | |
| int | fdetach (const char *path) |
| Detach a STREAMS-based file descriptor from a mount point. | |
| int | fattach (int fildes, const char *path) |
| Attach a STREAMS file descriptor to a pathname in the filesystem. | |
| int | getmsg (int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *flagsp) |
| Receive the next message from a STREAMS file descriptor. | |
| int | getpmsg (int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *bandp, int *flagsp) |
| Receive a priority-banded message from a STREAMS file descriptor. | |
| int | isastream (int fildes) |
| Test whether a file descriptor refers to a STREAMS file. | |
XSI STREAMS interface (<stropts.h>)
Provides the STREAMS I/O control interface (a legacy XSI extension). STREAMS is rarely implemented in its entirety; Zephyr provides minimal support for compatibility.
Definition in file stropts.h.