Copyright (c) 1999 Chris Costello All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or oth...
NAMEkldfirstmod - return first module id from the kld file specified
SYNOPSISIn sys/param.h In sys/linker.h Ft int Fn kldfirstmod int fileid
DESCRIPTIONThe Fn kldfirstmod system call returns the module id pertaining to the first module referenced by Fa fileid .
RETURN VALUESThe Fn kldfirstmod will return the id of the first module referenced by Fa fileid or 0 if there are no references.
- Bq Er ENOENT
- The kld file referenced by Fa fileid was not found.