Path: tut!enea!mcvax!seismo!husc6!mit-eddie!ll-xn!ames!amdcad!sun!decwrl!labrea!Lindy!vandys
From: vandys@Lindy.STANFORD.EDU (Andy Valencia)
Newsgroups: comp.os.minix
Subject: Re: RS-232 for MINIX
Summary: Missing file in distribution
Keywords: RS-232 MINIX
Message-ID: <229@Lindy.STANFORD.EDU>
Date: 3 Jun 87 15:18:06 GMT
References: <227@Lindy.STANFORD.EDU>
Organization: Stanford University Information Technology Services
Lines: 20


	Well, I had to forget something.  This is needed to build the
modified init.c.  Incidentally, I have a trick for linking against modules
which aren't in the main C library (libc.a).  I have built a second library,
named libaux.a, and I put all new modules in there (for instance, the
getgrent & getpwent modules).  Then when I compile, I say something like:
% cc -o foo foo.c -laux
	to search the library.  Of course, the standard library is then
searched after libaux.a.

				Good luck!
				Andy Valencia

---- Cut here for setpgrp.c ----
#include "../include/lib.h"

PUBLIC int setpgrp()
{
  return callm1(MM, SETPGRP, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
}
