aboutsummaryrefslogtreecommitdiff
path: root/streams/stropts.h
diff options
context:
space:
mode:
Diffstat (limited to 'streams/stropts.h')
-rw-r--r--streams/stropts.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/streams/stropts.h b/streams/stropts.h
index dda2857..04dc5cd 100644
--- a/streams/stropts.h
+++ b/streams/stropts.h
@@ -44,13 +44,15 @@ __BEGIN_DECLS
extern int isastream (int __fildes) __THROW;
/* Receive next message from a STREAMS file. */
-extern int getmsg (int __fildes, struct strbuf *__ctlptr,
- struct strbuf *__dataptr, int *__flagsp) __THROW;
+extern int getmsg (int __fildes, struct strbuf *__restrict __ctlptr,
+ struct strbuf *__restrict __dataptr,
+ int *__restrict __flagsp) __THROW;
/* Receive next message from a STREAMS file, with *FLAGSP allowing to
control which message. */
-extern int getpmsg (int __fildes, struct strbuf *__ctlptr,
- struct strbuf *__dataptr, int *__bandp, int *__flagsp)
+extern int getpmsg (int __fildes, struct strbuf *__restrict __ctlptr,
+ struct strbuf *__restrict __dataptr,
+ int *__restrict __bandp, int *__restrict __flagsp)
__THROW;
/* Perform the I/O control operation specified by REQUEST on FD.