Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

exp2read(3) [debian man page]

scf2read(3)							  Staden Package						       scf2read(3)

NAME
scf2read, read2scf, exp2read, read2exp - Translate to and from the Read structure. SYNOPSIS
#include <Read.h> Read *scf2read( Scf *scf); Scf *read2scf( Read *read); Exp_info *read2exp( Read *read, char *EN); Read *exp2read( Exp_info *e); DESCRIPTION
These functions are used internally by the io library for converting between the in memory representations of the supported file formats. The Read structure is the central format so only conversion to and from this structure is available. Conversions consist of to and from the SCF format and to and from the Experiment File format. scf2read() converts an Scf structure into a Read structure. The Read structure is allocated by the function. The Scf structure is left unchanged. read2scf() converts a Read structure into an Scf structure. The Scf structure is allocated by the function. The Read structure is left unchanged. exp2read() converts an Exp_info structure into a Read structure. The entryname to use in the EN line type of the Experiment File must be specified. The Read structure is allocated by the function. The Exp_info structure is left unchanged. read2exp() converts a Read structure into an Exp_info structure. The Exp_info structure is allocated by the function. The Read structure is left unchanged. RETURN VALUES
On successful completion, the scf2read() and exp2read functions return a pointer to an allocated Read structure. Otherwise these functions return NULLRead. On successful completion, the read2scf function returns a pointer to an allocated Scf structure. Otherwise this function returns a null pointer. On successful completion, the read2exp function returns a pointer to an allocated Exp_info structure. Otherwise this function returns a null pointer. SEE ALSO
read_reading(3), fread_reading(3), write_reading(3), fwrite_reading(3), scf(4), ExperimentFile(4) scf2read(3)

Check Out this Related Man Page

kmem(7) 						 Miscellaneous Information Manual						   kmem(7)

NAME
kmem - perform I/O on kernel memory, based on symbol name SYNOPSIS
DESCRIPTION
When used with a valid file descriptor for (kmemfd), can be used to manipulate kernel memory. The specifics of this manipulation depend on the command given as follows: Read mirk_buflen bytes of kernel memory starting at the address for mirk_symname into mirk_buf. rks is a pointer to a structure, defined below. Indirect read. Read bytes of kernel memory starting at the address for mirk_symname and use that as the address from which to read mirk_buflen bytes of kernel memory into mirk_buf. rks is a pointer to a structure. Write mirk_buflen bytes from mirk_buf into kernel memory starting at the address for mirk_symname. rks is a pointer to a structure. Indirect write. Read bytes of kernel memory starting at the address for mirk_symname and use that as the kernel memory address into which mirk_buflen bytes from mirk_buf are written. rks is a pointer to a structure. Increase the hold count by one for the dynamically loaded module whose name is given by rks, a pointer to a character string, thereby preventing its unloading. Decrease the hold count by one for the dynamically loaded module whose name is given by rks, a pointer to a character string. If the count is thereby reduced to 0, the module becomes a candidate for unloading. The definition is: RETURN VALUE
returns one of the following values: Successful completion. Failure. is set to indicate the error. ERRORS
In addition to the values described in ioctl(2), the also sets to one of the following values if the corresponding condition is detected. modname does not represent a currently loaded module or this is an and the hold count is already 0. kmemfd open on wrong minor device (i.e., not kmemfd open for reading and this is an symname not found. modname is greater than characters long, or symname is greater that characters long. SEE ALSO
getksym(2), ioctl(2), ioctl(5). kmem(7)
Man Page