Man page - libr_icon_geticon_bysize(3)

Packages contas this manual

Manual

libr_icon_geticon_bysize(3) Library Functions Manual libr_icon_geticon_bysize(3)

libr_icon_geticon_bysize - Retrieve an icon resource from an ELF

binary (by the desired icon size).

#include <libr.h>

libr_icon *libr_icon_geticon_bysize(libr_file *handle, unsigned int iconsize);

Return a resource handle to the closest requested size icon stored in a libr-compatible ELF binary. When this handle is no-longer needed it must be unallocated using libr_icon_close(3).

Parameters

handle A handle returned by libr_open(3).
iconsize The size of the resource to return, use 0 to request an SVG icon.

Returns

Returns a handle on success, NULL on failure.

libr_open(3), libr_icon_close(3)

Erich Hoover ehoover@mines.edu

libr