|
@ -29,9 +29,9 @@ |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
|
.\" SUCH DAMAGE. |
|
|
.\" SUCH DAMAGE. |
|
|
.\" |
|
|
.\" |
|
|
.\" $OpenBSD: strcmp.3,v 1.9 2007/05/31 19:19:32 jmc Exp $ |
|
|
|
|
|
|
|
|
.\" $OpenBSD: strcmp.3,v 1.10 2009/12/05 07:45:48 jmc Exp $ |
|
|
.\" |
|
|
.\" |
|
|
.Dd $Mdocdate: May 31 2007 $ |
|
|
|
|
|
|
|
|
.Dd $Mdocdate: December 5 2009 $ |
|
|
.Dt STRCMP 3 |
|
|
.Dt STRCMP 3 |
|
|
.Os |
|
|
.Os |
|
|
.Sh NAME |
|
|
.Sh NAME |
|
@ -58,7 +58,7 @@ The |
|
|
.Fn strcmp |
|
|
.Fn strcmp |
|
|
and |
|
|
and |
|
|
.Fn strncmp |
|
|
.Fn strncmp |
|
|
return an integer greater than, equal to, or less than 0, according |
|
|
|
|
|
|
|
|
functions return an integer greater than, equal to, or less than 0, according |
|
|
to whether the string |
|
|
to whether the string |
|
|
.Fa s1 |
|
|
.Fa s1 |
|
|
is greater than, equal to, or less than the string |
|
|
is greater than, equal to, or less than the string |
|
|