C Language Function Manual learning

Source: Internet
Author: User
Tags mathematical functions pow sprintf strcmp

Directory

1. Character test function

2. String manipulation functions

3. Memory management function

4. Date and Time function

5. Mathematical Functions

6. File Operation function

7. Process management functions

8. File Permission control function

9. Signal Processing function

10. Interface Processing function

11. Environment variable function

12. Terminal Control function

Summary: This happened to find the C language function manual, see his classification is very clear, it took a few hours to learn, specific functions can be clicked on the link to view, or find manuals, commonly used functions are I know have encountered the function, or used function.

1. Character test function

1.1 isxdigit () 1.2 isupper () 1.3 ispunct () 1.4 isspace () 1.5 isprint () 1.6 islower ()

1.7 isgraphis () 1.8 isdigit () 1.9 Iscntrl () 1.10 isascii () 1.11 isalpha () 1.12 isalnum ()

Common functions: Isupper () \isacii () \islower () \isalpha ()

2. String manipulation functions

2.1 strtok () 2.2 strstr () 2.3 strspn () 2.4 strrchr () 2.5 strpbrk () 2.6 strncpy ()

2.7 strncat () 2.8 strncasecmp () 2.9 strlen () 2.10 strdup () 2.11 STRCHR () 2.12 strcspn ()

2.13 strcpy () 2.14 strcoll () 2.15 strcmp () 2.16 strcat () 2.17 strcasecmp () 2.18 Rindex ()

2.19 Index () 2.20 toupper () 2.21 tolower () 2.22 toascii () 2.23 strtoul () 2.24 strtol ()

2.25 strtod () 2.26 gcvt () 2.27 atol () 2.28 atoi () 2.29 atof ()

Common functions: strcpy () \strncpy () \strcat () \strncat () \strlen () \STRCHR () \strcmp ()

ToUpper () \tolower ()

Atol () \atoi () \atof ()

3. Memory management function

3.1 memset () 3.2 memmove () 3.3 memcpy () 3.4 memcmp () 3.5 memchr () 3.6 memccpy ()

3.7 bzero () 3.8 bcopy () 3.9 bcmp () 3.10 munmap () 3.11 mmap () 3.12 malloc ()

3.13 getpagesize () 3.14 free () 3.15 calloc ()

Common functions: Memset () \memcpy () \memcmp () \bzero () \malloc () \calloc () \free ()

4. Date and Time functions

4.1 Time () 4.2 settimeofday () 4.3 mktime () 4.4 localtime ()

4.5 gmtime () 4.6 gettimeofday () 4.7 ctime () 4.8 asctime ()

Common functions: Time () \localtime () \gmtime () \asctime ()

5. Mathematical Functions

5.1 Tanh () 5.2 tan () 5.3 sqrt () 5.4 sinh () 5.5 sin () 5.6 pow ()

5.7 log10 () 5.8 log () 5.9 ldexp () 5.10 frexp () 5.11 exp () 5.12 cosh ()

5.13 cos () 5.14 ceil () 5.15 atan2 () 5.16 Atan () 5.17 ASIN () 5.18 ACOs () 5.19 ABS ()

Common functions: sqrt () \pow () \log () \exp () \abs ()

6. File Operation function

6.1 ungetc () 6.2 endgrent () 6.3 endpwent () 6.4 endutent () 6.5 fgetgrent () 6.6 fgetpwent ()

6.7 Getegid () 6.8 geteuid () 6.9 getgid () 6.10 getgrent () 6.11 Getgrgid () 6.12 Getgrnam ()

6.13 getgroups () 6.14 GETPW () 6.15 getpwent () 6.16 Getpwnam () 6.17 getpwuid () 6.18 Getuid ()

6.19 getutent () 6.20 getutid () 6.21 getutline () 6.22 initgroups () 6.23 pututline () 6.24 Seteuid ()

6.25 Setfsgid () 6.26 setfsuid () 6.27 setgid () 6.28 setgrent () 6.29 setgroups () 6.30 setpwent ()

6.31 setregid () 6.32 setreuid () 6.33 setuid () 6.34 setutent () 6.35 utmpname () 6.36 Close ()

6.37 creat () 6.38 dup () 6.39 dup2 () 6.40 fcntl () 6.41 flock () 6.42 Fsync ()

6.43 Lseek () 6.44 mkstemp () 6.45 open () 6.46 read () 6.47 sync () 6.48 write ()

6.49 Clearerr () 6.50 fclose () 6.51 fdopen () 6.52 feof () 6.53 fflush () 6.54 fgetc ()

6.55 fgets () 6.56 Fileno () 6.57 fopen () 6.58 FPUTC () 6.59 fputs () 6.60 fread () 6.61 freopen ()

6.62 fseek () 6.63 ftell () 6.64 fwrite () 6.65 getc () 6.66 getchar () 6.67 gets () 6.68 mktemp ()

6.69 putc () 6.70 putchar () 6.71 rewind () 6.72 setbuf () 6.73 setbuffer () 6.74 setlinebuf () 6.75 setvbuf ()

Common functions: Getgid () \getuid () \setgid () \setuid ()

Fcntl () \open () \close () \read () \write () \fseek ()

Gets () \puts () \getchar () \getchar ()

fopen () \fclose () \fputs () \fgets ()

7. Process management functions

7.1 atexit () 7.2 execl () 7.3 execlp () 7.4 execv () 7.5 execve () 7.6 execvp ()

7.7 exit () 7.8 vfork () 7.9 _exit () 7.10 getpgid () 7.11 getpgrp () 7.12 Getpid ()

7.13 Getppid () 7.14 getpriority () 7.15 Nice () 7.16 on_exit () 7.17 Setpgid ()

7.18 setpgrp () 7.19 setpriority () 7.20 system () 7.21 Wait () 7.22 waitpid ()

7.23 fprintf () 7.24 fscanf () 7.25 printf () 7.26 sacnf () 7.27 sprintf () 7.28 sscanf ()

7.29 vfprintf () 7.30 vfscanf () 7.31 vprintf () 7.32 vscanf () 7.33 vsprintf () 7.34 vsscanf ()

Common functions: Exit () \getpid () \getppid () \waipid () \setpid () \wait ()

fprintf () \FSANCF () \printf () \sacanf () \sprintf () \sacnaf ()

      

8. File Permission control function

8.1 Access () 8.2 alphasort () 8.3 chdir () 8.4 chmod () 8.5 chown () 8.6 chroot ()

8.7 closedir () 8.8 fchdir () 8.9 fchmod () 8.10 fchmod () 8.11 Fchown () 8.12 Fstat ()

8.13 ftruncate () 8.14 getcwd () 8.15 link () 8.16 lstat () 8.17 opendir () 8.18 Readdir ()

8.19 Readlink () 8.20 remove () 8.21 rename () 8.22 rewinddir () 8.23 seekdir () 8.24 stat ()

8.25 symlink () 8.26 telldir () 8.27 truncate () 8.28 umask () 8.29 unlink () 8.30 utime () 8.31 utimes ()

Common functions: ChDir () \chmod () \closedir () \opendir () \readdir () \seekdir ()

9. Signal Processing function

9.1 Alarm () 9.2 kill () 9.3 sigaction () 9.4 pause () 9.5 sigaddset () 9.6 sigdelset ()

9.7 sigemptyset () 9.8 sigfillset () 9.9 sigismember () 9.10 signal () 9.11 sigpending ()

9.12 Sigprocmask () 9.13 sleep () 9.14 ferror () 9.15 perror () 9.16 strerror ()

9.17 Mkfifo () 9.18 pclose () 9.19 Popen ()

Common functions: Kill () \pause () \sleep () \perror () \strerror ()

10. Interface Processing function

10.1 Accept () 10.2 bind () 10.3 Connect () 10.4 endprotoent () 10.5 endservent () 1

0.6 getsockopt () 10.7 getsockopt () 10.8 htonl () 10.9 htons () 10.10 inet_addr ()

10.11 Inet_aton () 10.12 Inet_ntoa () 10.13 Listen () 10.14 Ntohl () 10.15 Ntohs ()

10.16 recv () 10.17 recvfrom () 10.18 recvmsg () 10.19 send () 10.20 sendmsg ()

10.21 sendto () 10.22 setservent () 10.23 setprotoent () 10.24 setsockopt () 10.25 shutdown () 10.26 socket ()

11. Environment variable function

11.1 getenv () 11.2 putenv ()

12. Terminal Control function

12.1 getopt () 12.2 isatty () 12.3 Select () 12.4 ttyname ()

C Language Function Manual learning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.