LibSearch.mesa
Copyright Ó 1991 by Xerox Corporation. All rights reserved.
Spreitze, February 13, 1991 11:02 am PST
Michael Plass, August 20, 1991 12:22 pm PDT
DIRECTORY UXStrings;
A Cedar reflection of xr/libsearch.h. Written by Mike Spreitzer on February 13, 1991, looking at libsearch.h of 20-Sep-89 13:25:45 PDT.
LibSearch: CEDAR DEFINITIONS =
BEGIN
UnixString: TYPE ~ UXStrings.CString;
FD: TYPE ~ INTEGER;
Bool:
TYPE ~
INTEGER;
False: Bool ~ 0;
True: Bool ~ 1;
Init:
PROC
~ TRUSTED MACHINE CODE {"<xr/libsearch.h>.XR←lib←init"};
Probably not necessary for Cedar clients to use.
Crock1:
PROC ~
TRUSTED
MACHINE
CODE {"<xr/UIO.h>."};
Call this somewhere in client code to complete the list of #includes.
SymFind:
PROC
[
sym: UnixString,
libfd: POINTER TO FD,
liboffset: POINTER TO INT,
magic: POINTER TO INT,
modulename: POINTER TO UnixString]
RETURNS [Bool]
If the result is True, info on found location stored through given POINTERs. modulename gets the string "<name of the library>(<name of library member>)".
~ TRUSTED MACHINE CODE {"<xr/libsearch.h>.XR←lib←symfind"};
END.