*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ldr_inq_module | Section: 3 | Source: Digital UNIX | File: ldr_inq_module.3.gz
ldr_inq_module(3) Library Functions Manual ldr_inq_module(3) NAME ldr_inq_module - Returns information about a loaded module LIBRARY Standard C Library (libc.a) SYNOPSIS #include <sys/types.h> #include <loader.h> int ldr_inq_module( ldr_process_tprocess, ldr_module_tmod_id, ldr_module_info_t*info, size_tinfo_size, size_t*ret_size); PARAMETERS Specifies the process whose address space contains the module for which information is required. Identifies the module. The module ID is re- turned when the module is first loaded. Points to a buffer into which the information is returned. Specifies the size of the info buffer, in bytes. Specifies the number of bytes returned into the info buffer. DESCRIPTION The ldr_inq_module() function returns information about a specified module contained within the address space of the specified process into the variable pointed to by the info parameter. The info_size parameter is the size of the buffer provided. The number of bytes filled in (that is, the returned structure size) is returned in the buffer pointed to by the ret_size parameter. To obtain the unique process identifier for the current process, use the call: ldr_process_t ldr_my_process(); To obtain the unique process identifier for the kernel, use the call: ldr_process_t ldr_kernel_process(); NOTES This function is currently only implemented for the current process and the kernel. RETURN VALUES Upon successful completion, the function returns a value of 0 (zero). If the operation fails, the function returns a negative error value and sets errno to indicate the error. ERRORS If the ldr_inq_module() function fails, errno may be set to one of the following values: The specified module ID is not valid. The process identifier is not valid. In addition, errors pertaining to the IPC mechanism can be returned. RELATED INFORMATION Functions: ldr_inq_region(3), ldr_next_module(3) delim off ldr_inq_module(3)

Navigation Options