diff options
author | Matt Strapp <strap012@umn.edu> | 2020-10-27 14:03:30 -0500 |
---|---|---|
committer | Matt Strapp <strap012@umn.edu> | 2020-10-27 14:03:30 -0500 |
commit | dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0 (patch) | |
tree | e516a96ebe095502738b5a261162ba7508284b7a /P2/include | |
parent | Bad workaround to add `ftok()` (diff) | |
download | csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.gz csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.bz2 csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.lz csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.xz csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.tar.zst csci4061-dfcb494d75c25a3db8fcb133b5c021ce8bf2d1e0.zip |
Rewrite queue opening
Diffstat (limited to '')
-rw-r--r-- | P2/include/utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/P2/include/utils.h b/P2/include/utils.h index 2c91cdf..c4d2eb4 100644 --- a/P2/include/utils.h +++ b/P2/include/utils.h @@ -21,6 +21,8 @@ struct msgBuffer { long msgType; char msgText[MSGSIZE]; }; +//Open Queue as a function because writing this once is probably better than four times. +int openQueue(); // mapper side int validChar(char c); |