2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 #ifndef OTHERSERVICE_POSIXBASEDOS001LEGACYLIBRARY_POSIXBASEDOS001_ULTOA_H_ // NOLINT(build/header_guard)
18 #define OTHERSERVICE_POSIXBASEDOS001LEGACYLIBRARY_POSIXBASEDOS001_ULTOA_H_ // NOLINT(build/header_guard)
25 * @brief \~english This file provides ultoa API to convert unsigned long type to NULL terminated character string
28 /** @addtogroup BaseSystem
31 /** @addtogroup other_service
35 /** @addtogroup posix_based_os001_legacy_library
36 * @ingroup other_service
40 /////////////////////////////////////////////////////////////////////////////////////
42 /// \~english @par Brief
43 /// Convert unsigned long type to NULL terminated character 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
53 /// \~english @par Change of internal state
55 /// \~english @par Conditions of processing failure
57 /// \~english @par Detail
59 /// \~english @par Classification
61 /// \~english @par Type
63 /// \~english @see None
64 ////////////////////////////////////////////////////////////////////////////////////
65 char *ultoa(unsigned long value, char *buf, int radix); // NOLINT (readability/nolint)
67 /** @}*/ // end of posix_based_os001_legacy_library
68 /** @}*/ // end of other_service
69 /** @}*/ // end of BaseSystem
74 #endif // OTHERSERVICE_POSIXBASEDOS001LEGACYLIBRARY_POSIXBASEDOS001_ULTOA_H_