Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/kldfirstmod.2
| Show All 23 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd March 3, 1999 | .Dd March 3, 1999 | ||||
| .Dt KLDFIRSTMOD 2 | .Dt KLDFIRSTMOD 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm kldfirstmod | .Nm kldfirstmod | ||||
| .Nd "return first module id from the kld file specified" | .Nd "return first module id from the kld file specified" | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/linker.h | .In sys/linker.h | ||||
| .Ft int | .Ft int | ||||
| .Fn kldfirstmod "int fileid" | .Fn kldfirstmod "int fileid" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The | The | ||||
| .Fn kldfirstmod | .Fn kldfirstmod | ||||
| system call returns the module id pertaining to the first module referenced by | system call returns the module id pertaining to the first module referenced by | ||||
| .Fa fileid . | .Fa fileid . | ||||
| Show All 31 Lines | |||||