Some function calls

xiaoxiao2021-03-06  40

1, [Below this connection gives some of the function description of the C library, but not comprehensive, can be used as a reference] http://www.ggv.com.cn/forum/clib/clib.html 2, [as follows For the C language library function, you can find it in alphabetical order. If you can't find it above, you can find it here, you need to explain, some functions are not available in new libc, if you want to find UNIX system common system call functions Instructions for use, please go to the section 3 lookup] PHP source: function name: Abort function: exception termination a process usage: Void Abort (void); program: #include

#include

INT main (void) {Printf ("Calling Abort () / N"); Abort (); Return 0; / * this is never reached * /} function name: ABS function: absolute value for integers: int ABS INT i); example: #include

#include

INT main (void) {int Number = -1234; Printf ("Number:% D Absolute Value:% D / N", Number, ABS (Number); Return 0;}

转载请注明原文地址:https://www.9cbs.com/read-118507.html

New Post(0)