diff options
author | Sander Vrijders <[email protected]> | 2017-08-29 18:34:26 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-08-29 18:34:26 +0200 |
commit | 7d598d4a706e06e7e89218ca9ae071dd630cb2b3 (patch) | |
tree | a533c39bd42c9cbdb482ff210378b797c77b9e6e /include | |
parent | 706de5704f4d61929bbbb87d8d667ba68fcffc7d (diff) | |
download | ouroboros-7d598d4a706e06e7e89218ca9ae071dd630cb2b3.tar.gz ouroboros-7d598d4a706e06e7e89218ca9ae071dd630cb2b3.zip |
irmd: Fix deleting corrupt shm file
This will delete the rdrbuff also when it has been corrupted
before. Otherwise the irmd won't start, as experienced on my desktop.
Diffstat (limited to 'include')
-rw-r--r-- | include/ouroboros/shm_rdrbuff.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ouroboros/shm_rdrbuff.h b/include/ouroboros/shm_rdrbuff.h index 079c11b2..29410ac3 100644 --- a/include/ouroboros/shm_rdrbuff.h +++ b/include/ouroboros/shm_rdrbuff.h @@ -41,6 +41,8 @@ void shm_rdrbuff_close(struct shm_rdrbuff * rdrb); void shm_rdrbuff_destroy(struct shm_rdrbuff * rdrb); +void shm_rdrbuff_purge(void); + int shm_rdrbuff_wait_full(struct shm_rdrbuff * rdrb, struct timespec * timeo); |