*BSD News Article 30170


Return to BSD News archive

Xref: sserve comp.sys.3b1:7517 comp.unix.bsd:13881
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!vixen.cso.uiuc.edu!newsrelay.iastate.edu!news.iastate.edu!ponderous.cc.iastate.edu!michaelv
From: michaelv@iastate.edu (Michael L. VanLoon)
Newsgroups: comp.sys.3b1,comp.unix.bsd
Subject: Re: Problem with ftp -- Lack of source code for some routines
Date: 5 May 94 16:56:39 GMT
Organization: Iowa State University, Ames, Iowa
Lines: 39
Distribution: na
Message-ID: <michaelv.768156999@ponderous.cc.iastate.edu>
References: <2q8ub8INNfcq@umbc7.umbc.edu>
NNTP-Posting-Host: ponderous.cc.iastate.edu

In <2q8ub8INNfcq@umbc7.umbc.edu> hybl@umbc.edu (Dr. Albert Hybl) writes:

>When I try to locate getsockname.c and connect.c in NetBSD-current,
>I find that they are not available!

Getsockname is in /usr/src/sys/kern/uipc_syscalls.c.  It's a wonder
what "find" and "grep" will reveal to you.

>Can I obtain *.c and *.h files from the
>/src/lib/libc/sys directory?

There are no .h files in src/lib/libc/sys, and only four .c files.
These are available in any distribution of NetBSD-current:

[michaelv@MindBender]~> dir /usr/src/lib/libc/sys/*.[ch]
-rw-r--r--  1 root  src  256 Apr  1 23:38 /usr/src/lib/libc/sys/ftruncate.c
-rw-r--r--  1 root  src  313 Apr  1 23:38 /usr/src/lib/libc/sys/lseek.c
-rw-r--r--  1 root  src  399 Apr  1 23:38 /usr/src/lib/libc/sys/mmap.c
-rw-r--r--  1 root  src  253 Apr  1 23:38 /usr/src/lib/libc/sys/truncate.c

>If so, where?  Archie does not locate
>such a site!

Two (of several) ftp sites for all NetBSD-current sources are
ftp.iastate.edu and sun-lamp.cs.berkeley.edu.

>Should I acquire a 486 and switch to Linux? :-( ... :-)

Well, that's entirely up to you, but I don't see how it has anything
to do with what you're discussing here.

				--Michael

-- 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 Michael L. VanLoon                 Iowa State University Computation Center
    michaelv@iastate.edu                    Project Vincent Systems Staff
  Free your mind and your machine -- NetBSD free Un*x for PC/Mac/Amiga/etc.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -