Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
stropts.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Abhinav Srivastava
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_POSIX_STROPTS_H_
7#define ZEPHYR_INCLUDE_POSIX_STROPTS_H_
8#define RS_HIPRI BIT(0)
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14struct strbuf {
15 int maxlen;
16 int len;
17 char *buf;
18};
19
20int putmsg(int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, int flags);
21int fdetach(const char *path);
22int fattach(int fildes, const char *path);
23int getmsg(int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *flagsp);
24int getpmsg(int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *bandp, int *flagsp);
25int isastream(int fildes);
26
27#ifdef __cplusplus
28}
29#endif
30
31#endif /* ZEPHYR_INCLUDE_POSIX_STROPTS_H_ */
flags
Definition: parser.h:96
int putmsg(int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, int flags)
int getmsg(int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *flagsp)
int getpmsg(int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *bandp, int *flagsp)
int fattach(int fildes, const char *path)
int fdetach(const char *path)
int isastream(int fildes)
Definition: stropts.h:14
int len
Definition: stropts.h:16
char * buf
Definition: stropts.h:17
int maxlen
Definition: stropts.h:15