strcat concatenates two stringsstrchr
reentrant returns a pointer to the first occurrence of a specified character in one stringstrcmp reentrant
compares two stringsstrcpy
reentrant copies one string to anotherstrcspn returns
the index of the first character
in one string that matches any character in the second stringstrlen
reentrant string lengthstrncat concatenates a
specified number of characters from one string to anotherstrncmp
compares a specified number of characters from two stringsstrncpy
copies a specified number of characters from one string to anotherstrpbrk returns
a pointer to the first
character in one string that matches any character in the second stringstrpos
reentrant returns the index of the first occurrence of a specified character in a stringstrrchr reentrant returns a
pointer to the last occurrence of a specified character in a stringstrrpbrk returns a
pointer
to the last character in one string that matches any character in the second stringstrrpos
reentrant returns the index of the last occurrence of a specified character in a stringstrspn returns the index
of the first character in one string that does not match any character in the second
stringstrstr
returns a pointer to a substring in one string that is the same as another
Buffer Operations
STRING.Hmemchr Reentrant Returns the pointer to the first occurrence of a specified character in a buffer
memcmp Reentrant Compares a given number of characters from two different buffers
memcpy Reentrant Copies a specified number of data from one buffer to another memmove
Reentrant Copies a specified number of data from one buffer to another memset
Reentrant Initializes a specified number of data bytes in a buffer to a specified character value
Character conversion and classification CTYPE.H
isalnum Reentrant Whether it is an alphabetic or numeric character
isalpha Reentrant Whether it is an alphabetic character
iscntrl Reentrant Whether it is a control character
isdigit Reentrant Whether it is a decimal number
isgraph Reentrant Whether it is a printable character other than space
islower Reentrant Whether it is a lowercase alphabetic character
isprint Reentrant Whether it is a printable character
ispunct Reentrant Whether it is a punctuation character
isspace Reentrant Whether it is a space
isupper Reentrant Whether it is an uppercase alphabetic character
isxdigit Reentrant Whether it is a hexadecimal number
toascii Reentrant Convert a character to an ASCII code toint Reentrant
Convert a hexadecimal number to a decimal number
tolower Reentrant Test a character if it is uppercase and convert it to lowercase
_tolower Reentrant Unconditionally Convert a character to lowercase
toupper Reentrant Test a character if it is uppercase and convert it to lowercase
_toupper Reentrant Unconditionally Convert a character to uppercase
Data conversionSTDLIB.H
abs Reentrant to get the absolute value of an integer typeatof
/atof517 Convert a string to a floatatoi
Convert a string to an intatol
Convert a string to a longcabs
Reentrant to get the absolute value of a character typelabs Reentrant to
get the absolute value of a long typestrtod
/strtod Convert a string to a floatstrtol
Convert a string to a longstrtoul
Convert a string to an unsigned long
Previous article:Principle of 51 MCU decoding infrared remote control
Next article:51 MCU Programming - Virtual Serial Port
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- CC1101 433 wireless module, STM8 serial port transparent transmission
- STM32F103 project of LPS33HW
- New Shortlist | 2020-2021 ON Semiconductor and Avnet IoT Creative Design Competition
- [#Ren Zhengfei responds to hot topics#: We cannot narrowly think that loving Huawei means loving Huawei phones]
- How to burn flash of DLPC4422? Does source code engineering require TI authorization?
- NRF52832 Minimal System Debug
- [Anxinke NB-IoT Development Board EC-01F-Kit] V. Comprehensive Test
- 【Beetle ESP32-C3】VII. Network timing and weather request (Arduino)
- If anyone has a Concise Mechanical Manual, please send me a copy. I'd be very grateful.
- Here is the camera information on the national competition list