Rate This Document
Findability
Accuracy
Completeness
Readability

kupl_event_create

Creates a reusable KUPL event.

Interface Definition

kupl_event_h kupl_event_create(void);

Parameters

None

Return Value

Success: created event

Failure: nullptr

Examples

1
2
3
4
5
6
7
8
9
#include <stdio.h> 
#include "kupl.h" 

int main() 
{ 
    kupl_event_h event = kupl_event_create(); 
    kupl_event_destroy(event); 
    return 0; 
}

The preceding example demonstrates how to create and destroy an event. The kupl_event_create function creates a reusable event.