diff options
author | dimitri staessens <[email protected]> | 2016-05-12 15:08:20 +0200 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-05-12 15:08:20 +0200 |
commit | d6f20c13da9ef1aec966f2c0594dbf47a51d340e (patch) | |
tree | 9723ba8040cfcb543dadb1ef2417e700673977b6 /src/lib/shm_ap_rbuff.c | |
parent | ccf989a567acc91f8559ea67d69f2b952410010b (diff) | |
download | ouroboros-d6f20c13da9ef1aec966f2c0594dbf47a51d340e.tar.gz ouroboros-d6f20c13da9ef1aec966f2c0594dbf47a51d340e.zip |
lib: dev: implementation of flow_cntl
allows setting the oflags to make flow_read and flow_write blocking or
non-blocking (FLOW_O_NONBLOCK).
Diffstat (limited to 'src/lib/shm_ap_rbuff.c')
-rw-r--r-- | src/lib/shm_ap_rbuff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/shm_ap_rbuff.c b/src/lib/shm_ap_rbuff.c index 34583d8e..aab6d78b 100644 --- a/src/lib/shm_ap_rbuff.c +++ b/src/lib/shm_ap_rbuff.c @@ -242,6 +242,7 @@ int shm_ap_rbuff_write(struct shm_ap_rbuff * rb, struct rb_entry * e) return 0; } + struct rb_entry * shm_ap_rbuff_read(struct shm_ap_rbuff * rb) { struct rb_entry * e = NULL; |