From owner-freebsd-questions Fri Jan 12 6:35: 6 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cheviot2.ncl.ac.uk (cheviot2.ncl.ac.uk [128.240.233.16]) by hub.freebsd.org (Postfix) with ESMTP id 8DC6037B401 for ; Fri, 12 Jan 2001 06:34:48 -0800 (PST) Received: from finan.ncl.ac.uk (nap@finan.ncl.ac.uk [128.240.233.2]) by cheviot2.ncl.ac.uk (8.10.1/8.10.1) with ESMTP id f0CEYfP00758 for ; Fri, 12 Jan 2001 14:34:42 GMT Received: (from nap@localhost) by finan.ncl.ac.uk (8.9.3+Sun/8.9.0) id OAA01399 for freebsd-questions@freebsd.org; Fri, 12 Jan 2001 14:34:41 GMT From: Message-Id: <200101121434.OAA01399@finan.ncl.ac.uk> Subject: Things needed for cat.c To: freebsd-questions@freebsd.org Date: Fri, 12 Jan 2001 14:34:41 +0000 (GMT) X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Filter-Version: 2.0 (cheviot2.ncl.ac.uk) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I want to be able to compile a BSD version of cat.c on a SunOS system. and find that I need to have definitions or code for: __P MAX() err() warn() can anyone help me please. I have got something to compile by modifying the code (eg supplying my own definitions, replacing functions, deleting #includes) but it would be nice to have a more correct program. My aim is to have some C code which will compile on the SunOS (5.7) system that I uses and that will have the functionality of BSD cat.c. It would also be useful to have the nroff macros needed to compile the manual page. Thanks, Ann Petrie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message