···11-.\" $OpenBSD: ypconnect.2,v 1.2 2022/07/17 05:48:26 jmc Exp $
11+.\" $OpenBSD: ypconnect.2,v 1.3 2022/07/21 22:45:06 deraadt Exp $
22.\"
33.\" Copyright (c) 2022 Theo de Raadt <deraadt@openbsd.org>
44.\"
···1414.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
1515.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616.\"
1717-.Dd $Mdocdate: July 17 2022 $
1717+.Dd $Mdocdate: July 21 2022 $
1818.Dt YPCONNECT 2
1919.Os
2020.Sh NAME
···4545.Nm
4646is only intended for use by internal libc YP functions.
4747.Sh RETURN VALUES
4848-.Rv -std
4848+If successful,
4949+.Fn ypconnect
5050+returns a non-negative integer, the socket file descriptor.
5151+Otherwise, a value of \-1 is returned and
5252+.Va errno
5353+is set to indicate the error.
4954.Sh ERRORS
5055.Fn ypconnect
5156will fail if: