1
0
mirror of https://github.com/openbsd/src.git synced 2026-04-24 14:14:37 +00:00

A getlogin() function which used utmp(5) appeared in v7.

This was replaced by a getlogin() system call which Ingo discovered we
incorrectly list as being 4.2BSD when it was introduced in 4.3BSD Reno.

ok schwarze@
This commit is contained in:
jsg
2020-02-09 02:32:43 +00:00
parent 987aa43969
commit 0eac9b0390

View File

@@ -1,4 +1,4 @@
.\" $OpenBSD: getlogin.2,v 1.21 2015/09/10 17:55:21 schwarze Exp $
.\" $OpenBSD: getlogin.2,v 1.22 2020/02/09 02:32:43 jsg Exp $
.\" $NetBSD: getlogin.2,v 1.4 1995/02/27 12:33:03 cgd Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getlogin.2 8.1 (Berkeley) 6/9/93
.\"
.Dd $Mdocdate: September 10 2015 $
.Dd $Mdocdate: February 9 2020 $
.Dt GETLOGIN 2
.Os
.Sh NAME
@@ -195,10 +195,18 @@ and
functions conform to
.St -p1003.1-2008 .
.Sh HISTORY
A
.Fn getlogin
function which used
.Xr utmp 5
first appeared in
.At v7 .
The
.Fn getlogin
function first appeared in
.Bx 4.2 .
and
.Fn setlogin
system calls first appeared in
.Bx 4.3 Reno .
.Sh BUGS
In earlier versions of the system,
.Fn getlogin