summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-12-02 13:50:56 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-12-02 13:50:56 +0000
commitfe5351388c90f0fef85a6aaee20a722d8a7bb739 (patch)
tree6e57b6d8d012c4523f5685f085dc8398bb8138fd /lib/libc/sys
parentbb298b0b5c22bc68278a16ea4e67fe6015e49ba4 (diff)
downloadFreeBSD-src-fe5351388c90f0fef85a6aaee20a722d8a7bb739.zip
FreeBSD-src-fe5351388c90f0fef85a6aaee20a722d8a7bb739.tar.gz
syscall -> system call.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mq_close.24
-rw-r--r--lib/libc/sys/mq_getattr.26
-rw-r--r--lib/libc/sys/mq_notify.26
-rw-r--r--lib/libc/sys/mq_open.22
-rw-r--r--lib/libc/sys/mq_receive.216
-rw-r--r--lib/libc/sys/mq_send.212
-rw-r--r--lib/libc/sys/mq_setattr.24
7 files changed, 25 insertions, 25 deletions
diff --git a/lib/libc/sys/mq_close.2 b/lib/libc/sys/mq_close.2
index cd5e540..3f0461c 100644
--- a/lib/libc/sys/mq_close.2
+++ b/lib/libc/sys/mq_close.2
@@ -42,7 +42,7 @@
.Sh DESCRIPTION
The
.Fn mq_close
-syscall removes the association between the message queue descriptor,
+system call removes the association between the message queue descriptor,
.Fa mqdes ,
and its message queue. The results of using this message queue descriptor
after successful return from this
@@ -59,7 +59,7 @@ another process to attach for notification.
.Sh RETURN VALUES
Upon successful completion, the
.Fn mq_close
-syscall returns a value of zero; otherwise, the syscall returns a
+system call returns a value of zero; otherwise, the system call returns a
value of -1 and set
.Va errno
to indicate the error.
diff --git a/lib/libc/sys/mq_getattr.2 b/lib/libc/sys/mq_getattr.2
index ac89ea7..72798d2 100644
--- a/lib/libc/sys/mq_getattr.2
+++ b/lib/libc/sys/mq_getattr.2
@@ -42,7 +42,7 @@
.Sh DESCRIPTION
The
.Fn mq_getattr
-syscall obtains status information and attributes of the message queue and
+system call obtains status information and attributes of the message queue and
the open message queue description associated with the message queue
descriptor.
.Pp
@@ -78,13 +78,13 @@ The number of messages currently on the queue.
.Sh RETURN VALUES
Upon successful completion, the
.Fn mq_getattr
-syscall returns zero. Otherwise, the syscall returns -1 and set
+system call returns zero. Otherwise, the system call returns -1 and set
.Va errno
to indicate the error.
.Sh ERRORS
The
.Fn mq_getattr
-syscall call
+system call
will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
diff --git a/lib/libc/sys/mq_notify.2 b/lib/libc/sys/mq_notify.2
index 3046618..cae6e16 100644
--- a/lib/libc/sys/mq_notify.2
+++ b/lib/libc/sys/mq_notify.2
@@ -42,7 +42,7 @@
.Sh DESCRIPTION
If the argument notification is not
.Dv NULL ,
-this syscall will register the calling process to be notified of message
+this system call will register the calling process to be notified of message
arrival at an empty message queue associated with the specified message
queue descriptor,
.Fa mqdes.
@@ -72,14 +72,14 @@ notification will be sent.
.Sh RETURN VALUES
Upon successful completion, the
.Fn mq_notify
-syscall returns a value of zero; otherwise, the function returns a value
+system call returns a value of zero; otherwise, the function returns a value
of -1 and set
.Va errno
to indicate the error.
.Sh ERRORS
The
.Fn mq_notify
-syscall call
+system call
will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
diff --git a/lib/libc/sys/mq_open.2 b/lib/libc/sys/mq_open.2
index 3c5eecf..5d5a3f7 100644
--- a/lib/libc/sys/mq_open.2
+++ b/lib/libc/sys/mq_open.2
@@ -198,7 +198,7 @@ The descriptor is closed in new image after
.Fn select
and
.Fn kevent
-syscalls are supported for message queue descriptor.
+system calls are supported for message queue descriptor.
.Sh RETURN VALUES
Upon successful completion, the function returns a message queue
descriptor; otherwise, the function returns (mqd_t)-1 and set
diff --git a/lib/libc/sys/mq_receive.2 b/lib/libc/sys/mq_receive.2
index 4db69b8..b6dd2cf 100644
--- a/lib/libc/sys/mq_receive.2
+++ b/lib/libc/sys/mq_receive.2
@@ -55,14 +55,14 @@
.Sh DESCRIPTION
The
.Fn mq_receive
-syscall receives oldest of the highest priority message(s) from the
+system call receives oldest of the highest priority message(s) from the
message queue specified by
.Fa mqdes .
If the size of the buffer in bytes, specified by the
.Fa msg_len
argument, is less than the
.Fa mq_msgsize
-attribute of the message queue, the syscall will fail and return an
+attribute of the message queue, the system call will fail and return an
error. Otherwise, the selected message will be removed from the queue
and copied to the buffer pointed to by the
.Fa msg_ptr
@@ -100,19 +100,19 @@ will return an error.
.Pp
The
.Fn mq_timedreceive
-syscall will receive the oldest of the highest priority messages from the
+system call will receive the oldest of the highest priority messages from the
message queue specified by
.Fa mqdes
as described for the
.Fn mq_receive
-syscall. However, if
+system call. However, if
.Dv O_NONBLOCK
was not specified when the message queue was opened via the
.Fn mq_open
-syscall, and no message exists on the queue to satisfy the receive, the wait
+system call, and no message exists on the queue to satisfy the receive, the wait
for such a message will be terminated when the specified timeout expires. If
.Dv O_NONBLOCK
-is set, this syscall is equivalent to
+is set, this system call is equivalent to
.Fn mq_receive .
.Pp
The timeout expires when the absolute time specified by
@@ -131,9 +131,9 @@ Upon successful completion, the
.Fn mq_receive
and
.Fn mq_timedreceive
-syscalls return the length of the selected message in bytes and the
+system calls return the length of the selected message in bytes and the
message is removed from the queue. Otherwise, no message is removed
-from the queue, the syscalls returns a value of -1, and set
+from the queue, the system call return a value of -1, and set
.Va errno
to indicate the error.
.Sh ERRORS
diff --git a/lib/libc/sys/mq_send.2 b/lib/libc/sys/mq_send.2
index 26b1504..c021b89 100644
--- a/lib/libc/sys/mq_send.2
+++ b/lib/libc/sys/mq_send.2
@@ -55,7 +55,7 @@
.Sh DESCRIPTION
The
.Fn mq_send
-syscall adds the message pointed to by the argument
+system call adds the message pointed to by the argument
.Fa msg_ptr
to the message queue specified by
.Fa mqdes .
@@ -111,18 +111,18 @@ will return an error.
.Pp
The
.Fn mq_timedsend
-syscall will add a message to the message queue specified by
+system call will add a message to the message queue specified by
.Fa mqdes
in the manner defined for the
.Fn mq_send
-syscall. However, if the specified message queue is full and
+system call. However, if the specified message queue is full and
.Dv O_NONBLOCK
is not set in the message queue description associated with
.Fa mqdes ,
the wait for sufficient room in the queue will be terminated when
the specified timeout expires. If
.Dv O_NONBLOCK
-is set in the message queue description, this syscall is
+is set in the message queue description, this system call is
equivalent to
.Fn mq_send .
.Pp
@@ -141,8 +141,8 @@ Upon successful completion, the
.Fn mq_send
and
.Fn mq_timedsend
-syscalls return a value of zero. Otherwise, no message will be
-enqueued, the syscalls returns -1, and
+system calls return a value of zero. Otherwise, no message will be
+enqueued, the system calls return -1, and
.Va errno
is set to indicate the error.
.Sh ERRORS
diff --git a/lib/libc/sys/mq_setattr.2 b/lib/libc/sys/mq_setattr.2
index 0e67812..21608f9 100644
--- a/lib/libc/sys/mq_setattr.2
+++ b/lib/libc/sys/mq_setattr.2
@@ -46,7 +46,7 @@
.Sh DESCRIPTION
The
.Fn mq_setattr
-syscall sets attributes associated with the open message queue description
+system call sets attributes associated with the open message queue description
referenced by the message queue descriptor specified by
.Fa mqdes .
The message queue attributes corresponding to the following members defined
@@ -82,7 +82,7 @@ to indicate the error.
.Sh ERRORS
The
.Fn mq_setattr
-syscall call
+system call
will fail if:
.Bl -tag -width Er
.It Bq Er EBADF
OpenPOWER on IntegriCloud