Ret()

From Lianjapedia
Jump to: navigation, search

PURPOSE

Return without returning any value

SYNONYM

api_ret()

SYNOPSIS

#include "lianja_api.h"
 
int	_ret()
 
<input parameters>
none
 
<output parameters>
none

DESCRIPTION

The _ret() function is used to return without returning any value. This allows for the function to be used like a command.

EXAMPLE

The following example returns without returning any value.

Example Lianja script:

exec_command("test")

Example 'C' function:

#include "lianja_api.h"
 
lianjaapi_exec_command()
{
    ret();
}

SEE ALSO

_retc(), _retclen(), _retds(), _retl(), _retnd(), _retni(), _retnl(), _reto(), _retts(), _retys()