Line data Source code
1 0 : /*
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 0 : #define RS_HIPRI BIT(0)
9 :
10 : #ifdef __cplusplus
11 : extern "C" {
12 : #endif
13 :
14 0 : struct strbuf {
15 0 : int maxlen;
16 0 : int len;
17 0 : char *buf;
18 : };
19 :
20 0 : int putmsg(int fildes, const struct strbuf *ctlptr, const struct strbuf *dataptr, int flags);
21 0 : int fdetach(const char *path);
22 0 : int fattach(int fildes, const char *path);
23 0 : int getmsg(int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *flagsp);
24 0 : int getpmsg(int fildes, struct strbuf *ctlptr, struct strbuf *dataptr, int *bandp, int *flagsp);
25 0 : int isastream(int fildes);
26 :
27 : #ifdef __cplusplus
28 : }
29 : #endif
30 :
31 : #endif /* ZEPHYR_INCLUDE_POSIX_STROPTS_H_ */
|