/* Copyright (c) 2001-2009 by SoftIntegration, Inc. All Rights Reserved */
unsigned int inl(unsigned short int port) {
    void *fptr;
    unsigned int retval;

    fptr = dlsym(_ChSysIo_handle, "inl_chdl");
    if(fptr == NULL) {
        fprintf(_stderr, "Error: %s(): dlsym(): %s\n", __func__,  dlerror());
        return -1;
    }
    dlrunfun(fptr, &retval, inl, port);
    return retval;
}
