Files
solana/programs/bpf/c/src/panic/panic.c
Justin Starry 81c36699c4 Add support for BPF program custom errors (#5743)
* Add support for BPF program custom errors

* Rename SOL_SUCCESS -> SUCCESS
2019-09-06 16:05:01 -07:00

11 lines
204 B
C

/**
* @brief Example C-based BPF program that prints out the parameters
* passed to it
*/
#include <solana_sdk.h>
extern uint32_t entrypoint(const uint8_t *input) {
sol_panic();
return SUCCESS;
}