summaryrefslogtreecommitdiff
path: root/lib/libpthread/man
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-11-09 20:34:02 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2002-11-09 20:34:02 +0000
commit3029c10898f9ff74562a0d6d73d088aac1bd074b (patch)
treecdeaf48531e09180b847b753fd5903994c2d4915 /lib/libpthread/man
parentbd32030e318222e8a59de3b4ef0b9935fd834ecd (diff)
remove unused manpages (already in libc) and reorder SEE ALSO; marc@ ok.
Diffstat (limited to 'lib/libpthread/man')
-rw-r--r--lib/libpthread/man/pread.338
-rw-r--r--lib/libpthread/man/pthread_sigmask.34
-rw-r--r--lib/libpthread/man/pwrite.338
3 files changed, 2 insertions, 78 deletions
diff --git a/lib/libpthread/man/pread.3 b/lib/libpthread/man/pread.3
deleted file mode 100644
index 4ac9889136e..00000000000
--- a/lib/libpthread/man/pread.3
+++ /dev/null
@@ -1,38 +0,0 @@
-.\" $OpenBSD: pread.3,v 1.8 2000/04/15 02:15:26 aaron Exp $
-.\" David Leonard <d@openbsd.org>, 1998. Public domain.
-.Dd September 7, 1998
-.Dt PREAD 3
-.Os
-.Sh NAME
-.Nm pread
-.Nd atomic seek and read
-.Sh SYNOPSIS
-.Fd #include <pthread.h>
-.Ft ssize_t
-.Fn pread "int filedes" "void *buf" "size_t nbytes" "off_t offset"
-.Sh DESCRIPTION
-The
-.Fn pread
-function reads
-.Fa nbyte
-bytes from offset
-.Fa offset
-in the file opened on file descriptor
-.Fa filedes .
-.Pp
-This function is provided for use in a threaded, parallel I/O
-environment, where race conditions may exist between two threads
-non-atomically seeking and reading from the same file descriptor.
-.Sh RETURN VALUES
-The
-.Fn pread
-function returns values identical to
-.Xr read 2 .
-.Sh SEE ALSO
-.Xr read 2 ,
-.Xr pthreads 3 ,
-.Xr pwrite 3
-.Sh STANDARDS
-.Fn pread
-conforms to
-.St -susv2 .
diff --git a/lib/libpthread/man/pthread_sigmask.3 b/lib/libpthread/man/pthread_sigmask.3
index 41aaf7c8c61..e1bd704e52f 100644
--- a/lib/libpthread/man/pthread_sigmask.3
+++ b/lib/libpthread/man/pthread_sigmask.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pthread_sigmask.3,v 1.4 2002/02/21 20:12:19 fgsch Exp $
+.\" $OpenBSD: pthread_sigmask.3,v 1.5 2002/11/09 20:34:01 fgsch Exp $
.\"
.Dd March 21, 1999
.Dt PTHREAD_SIGMASK 3
@@ -60,8 +60,8 @@ is not one of the defined values.
.Xr sigaction 2 ,
.Xr sigpending 2 ,
.Xr sigprocmask 2 ,
-.Xr sigsetops 3 ,
.Xr sigsuspend 2 ,
+.Xr sigsetops 3 ,
.Xr pthreads 3
.Sh STANDARDS
.Fn pthread_sigmask
diff --git a/lib/libpthread/man/pwrite.3 b/lib/libpthread/man/pwrite.3
deleted file mode 100644
index 443d505072b..00000000000
--- a/lib/libpthread/man/pwrite.3
+++ /dev/null
@@ -1,38 +0,0 @@
-.\" $OpenBSD: pwrite.3,v 1.8 2000/04/15 02:15:26 aaron Exp $
-.\" David Leonard <d@openbsd.org>, 1998. Public domain.
-.Dd September 7, 1998
-.Dt PWRITE 3
-.Os
-.Sh NAME
-.Nm pwrite
-.Nd atomic seek and write
-.Sh SYNOPSIS
-.Fd #include <pthread.h>
-.Ft ssize_t
-.Fn pwrite "int filedes" "void *buf" "size_t nbytes" "off_t offset"
-.Sh DESCRIPTION
-The
-.Fn pwrite
-function writes
-.Fa nbyte
-bytes from offset
-.Fa offset
-in the file opened on file descriptor
-.Fa filedes .
-.Pp
-This function is provided for use in a threaded, parallel I/O
-environment, where race conditions may exist between two threads
-non-atomically seeking and writing to the same file descriptor.
-.Sh RETURN VALUES
-The
-.Fn pwrite
-function returns values identical to
-.Xr write 2 .
-.Sh SEE ALSO
-.Xr write 2 ,
-.Xr pread 3 ,
-.Xr pthreads 3
-.Sh STANDARDS
-.Fn pwrite
-conforms to
-.St -susv2 .