[unix-pc.general] Looking for BSD equivalent lib functions.

mike@mfgfoc.uucp (Mike Thompson) (02/03/89)

Hello everyone,

Does anyone have a good collection of BSD equivalent functions which are
not found in System V 3.51 supplied with the Unix PC.  I am talking about 
functions like dup2(), ftruncate(), mkdir(), rmdir() and other such BSD
goodies which would make porting software to the 3B1 easier.  I ask because
I was recently trying to get GNU tar to compile on my 3B1 and the above
BSD related functions are needed.  I am currently working on a 3B1 version
of libndir.a and will be willing to share it once I get it finished.  

Apparently the newer versions of System V libraries include many more BSD
equivalent functions since gnu tar will supposedly compile on them.  

If publicly available BSD equivalent functions do not already exist, 
perhaps some other people would be willing to help me write a set.  We could
then put them in a library file which would make porting many sources which
come over the net easier to port to the 3B1/7300 environment.

Thanks, 

Mike

PS.  It may take me a while to respond to replies to this request since
I am going on vacation for a week.
---------------------------------------------------------------------------
Michael P. Thompson                      FOCUS Semiconductor Systems, Inc.
net: (sun!daver!mfgfoc!mike)             570 Maude Court
att: (408) 738-0600 ext 370              Sunnyvale, CA  94086 USA
---------------------------------------------------------------------------

dbw@mtunk.ATT.COM (d.b.wood) (02/04/89)

Doug Gwyn posted sources in comp.sources.unix in May 1987, for a
portable ndir library.

Dave Wood

gst@gnosys.UUCP (Gary S. Trujillo) (02/08/89)

In article <219@mtunk.ATT.COM> dbw@mtunk.UUCP (d.b.wood) writes:
> Doug Gwyn posted sources in comp.sources.unix in May 1987, for a
> portable ndir library.
> 
> Dave Wood

However, Doug is now steering folks away from that version, and suggests
that they contact him directly for a more recent version with bug fixes.

His net-address is "gwyn@brl.mil".

-- 
Gary S. Trujillo			      {linus,bbn,m2c}!spdcc!gnosys!gst
Somerville, Massachusetts		     {icus,ima,stech,wjh12}!gnosys!gst