24#ifndef ZEPHYR_INCLUDE_POSIX_STROPTS_H_
25#define ZEPHYR_INCLUDE_POSIX_STROPTS_H_
28#define RS_HIPRI BIT(0)
int putmsg(int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, int flags)
Send a STREAMS message downstream.
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 fattach(int fildes, const char *path)
Attach a STREAMS file descriptor to a pathname in the filesystem.
int fdetach(const char *path)
Detach a STREAMS-based file descriptor from a mount point.
int isastream(int fildes)
Test whether a file descriptor refers to a STREAMS file.
Buffer descriptor for STREAMS getmsg() / putmsg() control and data parts.
int len
Length of data, or -1 to indicate no data/control part.
char * buf
Pointer to data buffer.
int maxlen
Maximum buffer length.