Init basesystem source codes.
[staging/basesystem.git] / video_in_hal / otherservice / posix_based_os001_legacy_library / library / include / other_service / itoa.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef OTHERSERVICE_POSIXBASEDOS001LEGACYLIBRARY_POSIXBASEDOS001_ITOA_H_  // NOLINT(build/header_guard)
18 #define OTHERSERVICE_POSIXBASEDOS001LEGACYLIBRARY_POSIXBASEDOS001_ITOA_H_  // NOLINT(build/header_guard)
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 /**
24  * @file itoa.h
25  * @brief \~english This file provides itoa API to convert integer value to null terminated string
26  */
27
28 /** @addtogroup BaseSystem
29  *  @{
30  */
31 /** @addtogroup other_service
32  *  @ingroup BaseSystem
33  *  @{
34  */
35 /** @addtogroup posix_based_os001_legacy_library
36  *  @ingroup other_service
37  *  @{
38  */
39
40 /////////////////////////////////////////////////////////////////////////////////////
41 /// \ingroup itoa
42 /// \~english @par Brief
43 ///     Integer value to null terminated string.
44 /// \~english @param [in] value
45 ///     int - value Number to convert
46 /// \~english @param [out] buff
47 ///     char - buff Result string
48 /// \~english @param [in] radix
49 ///     int - radix Radix of value
50 /// \~english @retval String pointer
51 /// \~english @par Prerequisite
52 ///     None
53 /// \~english @par Change of internal state
54 ///     None
55 /// \~english @par Conditions of processing failure
56 ///     None
57 /// \~english @par Classification
58 ///     Public
59 /// \~english @par Type
60 ///     Sync
61 /// \~english @par Detail
62 ///     None
63 /// \~english @see None
64 ////////////////////////////////////////////////////////////////////////////////////
65 char* itoa(int value, char buff[], int radix);  // NOLINT(readability/nolint)
66
67 /** @}*/  // end of posix_based_os001_legacy_library
68 /** @}*/  // end of other_service
69 /** @}*/  // end of BaseSystem
70 #ifdef __cplusplus
71 }
72 #endif
73
74 #endif  // OTHERSERVICE_POSIXBASEDOS001LEGACYLIBRARY_POSIXBASEDOS001_ITOA_H_