Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2006 09:56:19 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Joseph Koshy <joseph.koshy@gmail.com>
Cc:        nick@humgat.org, hackers@freebsd.org
Subject:   Re: _getlogin()
Message-ID:  <20060801095559.E32926@fledge.watson.org>
In-Reply-To: <84dead720607311012q42e5dapf83e73653e245ae0@mail.gmail.com>
References:  <20060731154612.GA2921@taran.infoua.com.ua> <84dead720607311012q42e5dapf83e73653e245ae0@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

On Mon, 31 Jul 2006, Joseph Koshy wrote:

>> Where can i find source of subj?
>> /usr/src/lib/libc/gen/getlogin.c has
>> the declaration of this function, but i'm unable
>> to find its definition.
>
> Its generated as part of the C library build.  See:
> src/lib/libc/i386/sys/Makefile.inc
> src/lib/libc/sys/Makefile.inc
> sys/lib/libc/i386/SYS.h

And:

   src/sys/kern/kern_prot.c

:-)

Robert N M Watson
Computer Laboratory
University of Cambridge


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060801095559.E32926>