Sign in Sign up RT-Thread / rt-thread Public Notifications Fork 5k Star 10.7k Code Issues 288 Pull requests 61 Discussions Actions Projects Wiki Security Insights doc_doxygen [utest] implement rt_memcmp test cases #2566 Sign in to view logs Summary Jobs doxygen_doc generate Run...
[utest] remove rt_kprintf from TC_rt_sprintf.c 8832f0b [utest] implement more test case for rt_memcpy b75a3e0 [utest] implement rt_memcmp test cases 9a70d3a mysterywolf force-pushed the utest-3 branch from 3660742 to 9a70d3a Compare December 24, 2024 02:38 Rbb666 approved the...
memcmp() の使用例この例では、main() に渡される 1 番目と 2 番目の引数を比較して、どちらが大きいかを判別します (どちらかが大きい場合)。 #include <stdio.h> #include <string.h> int main(int argc, char ** argv) { int len; int result; if ( argc != 3 ) { printf( "...