Tcl_DumpActiveMemory, Tcl_InitMemory, Tcl_ValidateAllMemory − Validated memory allocation interface
Tcl_Interp *interp (in)
Tcl interpreter in which to add commands.
const char *fileName (in)
For Tcl_DumpActiveMemory, name of the file to which memory information will be written. For Tcl_ValidateAllMemory, name of the file from which the call is being made (normally __FILE__).
int line (in)
Line number at which the call to Tcl_ValidateAllMemory is made (normally __LINE__).
These functions provide access to Tcl memory debugging information. They are only functional when Tcl has been compiled with TCL_MEM_DEBUG defined at compile-time. When TCL_MEM_DEBUG is not defined, these functions are all no-ops.
Tcl_DumpActiveMemory will output a list of all currently allocated memory to the specified file. The information output for each allocated block of memory is: starting and ending addresses (excluding guard zone), size, source file where ckalloc was called to allocate the block and line number in that file. It is especially useful to call Tcl_DumpActiveMemory after the Tcl interpreter has been deleted.
Tcl_InitMemory adds the Tcl memory command to the interpreter given by interp. Tcl_InitMemory is called by Tcl_Main.
Tcl_ValidateAllMemory forces a validation of the guard zones of all currently allocated blocks of memory. Normally validation of a block occurs when its freed, unless full validation is enabled, in which case validation of all blocks occurs when ckalloc and ckfree are called. This function forces the validation to occur at any point.
More Linux Commands
wcswidth(3) - determine columns needed for a fixed-size wide
The wcswidth() function returns the number of columns needed to represent the wide-character string pointed to by s, but at most n wide characters. If a nonprin
gnutls_openpgp_keyring_init(3) - API function (Man Page)....
This function will initialize an keyring structure. RETURNS GNUTLS_E_SUCCESS on success, or an error code. REPORTING BUGS Report bugs to <email@example.com>. G
keyctl_session_to_parent(3) Set the parent processs session
keyctl_session_to_parent() changes the session keyring to which the calling processs parent subscribes to be the that of the calling process. The keyring must h
fchdir(2) - change working directory - Linux manual page....
chdir() changes the current working directory of the calling process to the directory specified in path. fchdir() is identical to chdir(); the only difference i
Tcl_AppendObjToObj(3) - manipulate Tcl objects as strings...
The procedures described in this manual entry allow Tcl objects to be manipulated as string values. They use the internal representation of the object to store
iswcntrl(3) - test for control wide character (Man Page)....
The iswcntrl() function is the wide-character equivalent of the iscntrl(3) function. It tests whether wc is a wide character belonging to the wide-character cla
systemd-nspawn(1) - Spawn a namespace container for debuggin
systemd-nspawn may be used to run a command or OS in a light-weight namespace container. In many ways it is similar to chroot(1), but more powerful since it ful
autoscan(1) - Generate a preliminary configure.in (ManPage)
Examine source files in the directory tree rooted at SRCDIR, or the current directory if none is given. Search the source files for common portability problems,
gnutls_certificate_set_x509_crl_mem(3) - API function.......
gnutls_certificate_set_x509_crl_mem.3 - This function adds the trusted CRLs in order to verify client or server certificates. In case of a client this is not re
gnutls_openpgp_crt_get_auth_subkey(3) - API function........
Returns the 64-bit keyID of the first valid OpenPGP subkey marked for authentication. If flag is non (0) and no authentication subkey exists, then a valid subke
pam_sepermit(8) - PAM module to allow/deny login depending o
The pam_sepermit module allows or denies login depending on SELinux enforcement state. When the user which is logging in matches an entry in the config file he
strerror(3) - return string describing error number.........
The strerror() function returns a pointer to a string that describes the error code passed in the argument errnum, possibly using the LC_MESSAGES part of the cu