home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
POLYEDIT.LZH
/
LIB
/
SEARCHF.C
< prev
next >
Wrap
C/C++ Source or Header
|
1994-06-05
|
454b
|
27 lines
#include <stdio.h>
#include <string.h>
#include "lib.h"
#include "inlib.h"
void *SearchFunction( lib, fname )
Library *lib ;
char *fname ;
{
int i ;
char buf[256] ;
Function *func = lib->func ;
for( i = 0 ; func->func != NULL ; i++ )
{
if ( strcmp( fname, func->name ) == 0 )
{
return func->func ;
}
func ++ ;
}
sprintf( buf, "関数\'%s\'がリンクできません", fname );
MessageError( buf );
return NULL ;
}