Chapter Contents |
Previous |
Next |
isunresolved |
Portability: | SAS/C extension |
SYNOPSIS | |
DESCRIPTION | |
RETURN VALUE | |
EXAMPLE | |
SEE ALSO |
SYNOPSIS |
#include <lcdef.h> int isunresolved(name);
DESCRIPTION |
This macro tests the name (which should
be the name of a variable declared as
_ _weak
) to determine whether the symbol was resolved by the linkage editor.
RETURN VALUE |
isunresolved
returns 0 if the symbol is resolved, or a nonzero value if it is not
resolved.
EXAMPLE |
/* Test whether the function db_open() is present */ /* in the load module. If it is, call it. */ /* optional database open function */ extern int _ _weak db_open(char *); if (!isunresolved(db_open)) db_open("DBNAME");
SEE ALSO |
Chapter 2, "Language Definition," in SAS/C Compiler and Library User's Guide
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.