[][src]Function eosio_cdt_sys::tapos_block_num

pub unsafe extern "C" fn tapos_block_num() -> c_int

Gets the block number used for TAPOS on the currently executing transaction.

@brief Gets the block number used for TAPOS on the currently executing transaction. @return block number used for TAPOS on the currently executing transaction Example: @code int tbn = tapos_block_num(); @endcode