From 232f1f004fab40b03a400c3a04f91fbc8e54d9c4 Mon Sep 17 00:00:00 2001 From: cheloha Date: Sun, 25 Jul 2021 15:47:26 +0000 Subject: [PATCH] nanosleep.2: HISTORY: correct historic sleep() system call origins A sleep() system call first appeared in Research UNIX v2, not v3. See, e.g., the TOC here: https://www.tuhs.org/Archive/Distributions/Research/Dennis_v2/v2man.pdf Pointed out by jsg@ in a related discussion on tech@: https://marc.info/?l=openbsd-tech&m=162718667209936&w=2 --- lib/libc/sys/nanosleep.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/nanosleep.2 b/lib/libc/sys/nanosleep.2 index fc2bffb9a9d..53cdabd2048 100644 --- a/lib/libc/sys/nanosleep.2 +++ b/lib/libc/sys/nanosleep.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: nanosleep.2,v 1.17 2021/07/23 12:47:21 cheloha Exp $ +.\" $OpenBSD: nanosleep.2,v 1.18 2021/07/25 15:47:26 cheloha Exp $ .\" $NetBSD: nanosleep.2,v 1.1 1997/04/17 18:12:02 jtc Exp $ .\" .\" Copyright (c) 1986, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)sleep.3 8.1 (Berkeley) 6/4/93 .\" -.Dd $Mdocdate: July 23 2021 $ +.Dd $Mdocdate: July 25 2021 $ .Dt NANOSLEEP 2 .Os .Sh NAME @@ -114,7 +114,7 @@ function conforms to The predecessor of this system call, .Fn sleep , first appeared in -.At v3 . +.At v2 . It was removed in .At v7 and replaced with a C library implementation based on -- 2.20.1