Initializing help system before first use

# bindrv_getstring

Purpose
Get the value of a text string token.
Synopsis
`int bindrv_getstring(s_bindrvctx bctx,char **val);`
Arguments

bctx | A BinDrv reader context
val | Pointer to return a reference to the string

Return value
0 if successful, a negative value in case of error or the type code of the token (positive value) if it is not of the expected type.
Further information
The returned buffer is allocated using the C function malloc. To replace this default memory allocator, ( e.g. by some application specific memory management routine), use bindrv_setalloc.
Related topics
bindrv_nexttoken.
Parent Topic Reader

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.