LibBSD headers and library

This is wholly untested software! Use it at your own risk!

Usage

This package contains /usr/lib/libbsd.a which is an RL of many BSD functions from the NetBSD distribution ported to the HP3000. This package also contains a forward compatible set of include files required to access the functions in the library. Each of these include files has a reference to its corresponding /usr/include file (if such exists). To use the library, add -lbsd when linking. To use the includes, add -I/usr/include/bsd when compiling. When using the header files, keep in mind that they have not been rigorously examined for MPE compatibility. They work so far as to port things found on this server, no guarantees. The headers in bsd/sys/* may not be used with KERNEL, _KERNEL_BUILD, USE_OLD_TTY, or COMPAT_43 defined. These defines will cause the headers to fail to compile or compile incorrectly. These defines are not supported. The associated code has been left intact as a reference.

These options will cause the compiler to look in those locations prior to looking elsewhere. Whenever a /usr/include/bsd exists, it will be used in place of any corresponding /usr/include file. Nothing is lost, however, since each /usr/include/bsd file also includes its /usr/include counterpart.


Maintenance

01/10/95 - Fixed syslog to use vfprintf. Added cuserid, fchdir, ffs, ftime, readv, sighold, siginterrupt, sigrelse, sigignore, truncate functions. 6/16/95 - Moved all includes from /bsd/include to /usr/include/bsd. Added notes about restricting #defines in bsd/sys directory.

Installation instructions

  • Use syslog (Original port by Mark Bixby).
  • make sure you have a /usr/lib directory.
  • create the /usr/include/bsd directory and cd to it.
  • Download, ftp byte transfer and extract libbsd.tar.Z