From owner-cvs-lib Sun Sep 14 10:01:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA18081 for cvs-lib-outgoing; Sun, 14 Sep 1997 10:01:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA18053; Sun, 14 Sep 1997 10:00:50 -0700 (PDT) From: Poul-Henning Kamp Received: (from phk@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id JAA07720; Sun, 14 Sep 1997 09:57:28 -0700 (PDT) Date: Sun, 14 Sep 1997 09:57:28 -0700 (PDT) Message-Id: <199709141657.JAA07720@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen getcwd.c src/lib/libc/sys Makefile.inc Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 1997/09/14 09:57:28 PDT Modified files: lib/libc/gen getcwd.c lib/libc/sys Makefile.inc Log: Add __getcwd() syscall, and have getcwd() take a shot at it. If your kernel doesn't support __getcwd() or if __getcwd() cannot deliver because of cache expiry, it does the canonical thing. Revision Changes Path 1.11 +11 -0 src/lib/libc/gen/getcwd.c 1.40 +2 -2 src/lib/libc/sys/Makefile.inc