modnext (2)
Leading comments
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...
NAME
modnext - return the modid of the next kernel moduleLIBRARY
Lb libcSYNOPSIS
In sys/param.h In sys/module.h Ft int Fn modnext int modid Ft int Fn modfnext int modidDESCRIPTION
The Fn modnext system call returns the modid of the next kernel module (that is, the one after modid or 0 if modid is the last module in the list.If the modid value is 0, then Fn modnext will return the modid of the first module. The Fn modfnext system call must always be given a valid modid.