1QueryPackage(3z)           z88dk Programmer's Manual          QueryPackage(3z)
2
3
4

NAME

6       QueryPackage - open a shared library/package
7

SYNOPSIS

9       #include <z88.h>
10
11       bool_t QueryPackage(char package, char major , char minor);
12

DESCRIPTION

14       The  QueryPackage()  function  checks  and  makes available for use the
15       shared package package with a version of at least minor.minor
16
17       The function initially checks for the presence of the package subsystem
18       and then proceeds to check for the specified package.
19
20       Version checking can be disabled by specifying minor and major to be 0.
21
22

RETURN VALUE

24       The  QueryPackage() function returns 0 on failure or 1 on success.  The
25       carry flag is set accordingly and thus the non-standard iferror { ... }
26       construct can be used to check for success.
27
28
29
30                               18 February 2000               QueryPackage(3z)
Impressum