Document of c-modernization-kit (override-sample) 1.0.0
Loading...
Searching...
No Matches
sample_func.c File Reference

sample_func 関数の実装ファイル。 More...

#include "funcman_libbase.h"
#include <libbase.h>
Include dependency graph for sample_func.c:

Go to the source code of this file.

Functions

int BASE_API sample_func (const int a, const int b, int *result)
 計算処理を行います。

Detailed Description

sample_func 関数の実装ファイル。

Author
c-modenization-kit sample team
Date
2026/02/21
Version
1.0.0

外部ライブラリに処理を委譲可能なサンプル関数を提供します。

Definition in file sample_func.c.

Function Documentation

◆ sample_func()

int BASE_API sample_func ( const int a,
const int b,
int * result )

計算処理を行います。

Parameters
[in]a第一オペランド。
[in]b第二オペランド。
[out]result計算結果を格納するポインタ。
Returns
成功時は 0、失敗時は -1 を返します。
Warning
result が NULL の場合は -1 を返します。

Definition at line 20 of file sample_func.c.

References BASE_API, console_output(), and pfo_sample_func.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function: