Function gstd::exec::program_id

source ·
pub fn program_id() -> ActorId
Expand description

Return the identifier of the current program.

§Examples

use gstd::exec;

#[no_mangle]
extern "C" fn handle() {
    let whoami = exec::program_id();
}