OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / sockatmark.3
index ba23d23..333ef03 100644 (file)
@@ -22,7 +22,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH SOCKATMARK 3 2008-12-03 "Linux" "Linux Programmer's Manual"
+.TH SOCKATMARK 3 2014-02-28 "Linux" "Linux Programmer's Manual"
 .SH NAME
 sockatmark \- determine whether socket is at out-of-band mark
 .SH SYNOPSIS
@@ -52,7 +52,9 @@ This function does not remove the out-of-band mark.
 A successful call to
 .BR sockatmark ()
 returns 1 if the socket is at the out-of-band mark, or 0 if it is not.
-On error, \-1 is returned and \fIerrno\fP is set to indicate the error.
+On error, \-1 is returned and
+.I errno
+is set to indicate the error.
 .SH ERRORS
 .TP
 .B EBADF
@@ -68,6 +70,11 @@ can be applied.
 .SH VERSIONS
 .BR sockatmark ()
 was added to glibc in version 2.2.4.
+.SH ATTRIBUTES
+.SS Multithreading (see pthreads(7))
+The
+.BR sockatmark ()
+function is thread-safe.
 .SH CONFORMING TO
 POSIX.1-2001.
 .SH NOTES
@@ -134,3 +141,12 @@ and then read the byte of data at the mark:
 .BR recv (2),
 .BR send (2),
 .BR tcp (7)
+.SH COLOPHON
+This page is part of release 3.79 of the Linux
+.I man-pages
+project.
+A description of the project,
+information about reporting bugs,
+and the latest version of this page,
+can be found at
+\%http://www.kernel.org/doc/man\-pages/.