|
Document of c-modernization-kit (calc) 1.0.0
|
add 関数の実装ファイル。 More...
Go to the source code of this file.
Functions | |
| int | add (const int a, const int b, int *result) |
| 2 つの整数を加算します。 | |
add 関数の実装ファイル。
2 つの整数を加算する関数を提供します。
Definition in file add.c.
| int add | ( | const int | a, |
| const int | b, | ||
| int * | result ) |
2 つの整数を加算します。
| [in] | a | 第一オペランド。 |
| [in] | b | 第二オペランド。 |
| [out] | result | 計算結果を格納するポインタ。 |
この関数は 2 つの整数を受け取り、その合計を result に格納します。
Definition at line 20 of file add.c.
References CALC_ERROR, and CALC_SUCCESS.
Referenced by calcHandler(), main(), and subtract().