C
The functions, macros, and data structures in the C library are described here in alphabetical order.
A ¦ B ¦ C ¦ D ¦ E ¦ F ¦ G ¦ H ¦ I ¦ J ¦ K ¦ L ¦ M ¦ N ¦ O ¦ P ¦ Q ¦ R ¦ S ¦ T ¦ U ¦ V ¦ W ¦ X ¦ Y ¦ Z
This chapter describes the API components whose names begin with C.
Related links
- cabs(), cabsf()
Compute the absolute value of a complex number
- calloc()
Allocate space for an array
- cbrt(), cbrtf()
Compute the cube root of a number
- ceil(), ceilf()
Round up a value to the next integer
- cfgetispeed()
Return the input baud rate that's stored in a termios structure
- cfgetospeed()
Return the output baud rate that's stored in a termios structure
- cfgopen()
Open a configuration file
- cfmakeraw()
Set terminal attributes
- cfree()
Free allocated memory
- cfsetispeed()
Set the input baud rate in a termios structure
- cfsetospeed()
Set the output baud rate in a termios structure
- ChannelCreate(), ChannelCreate_r()
Create a communications channel
- ChannelDestroy(), ChannelDestroy_r()
Destroy a communications channel
- chdir()
Change the current working directory
- chmod()
Change the permissions for a file
- chown()
Change the user ID and group ID of a file
- chroot()
Change the root directory
- chsize()
Change the size of a file
- clearenv()
Clear the environment
- clearerr()
Clear a stream's end-of-file and error flags
- clock()
Return the number of clock ticks used by the program
- clock_getcpuclockid()
Return the clock ID of the CPU-time clock from a specified process
- clock_getres()
Get the resolution of the clock
- clock_gettime()
Get the current time of a clock
- clock_nanosleep()
High resolution sleep with specifiable clock
- clock_settime()
Set a clock
- ClockAdjust(), ClockAdjust_r()
Adjust the time of a clock
- ClockCycles()
Get the number of clock cycles
- ClockId(), ClockId_r()
Get a clock ID for a given process and thread
- ClockPeriod(), ClockPeriod_r()
Get or set a clock period
- ClockTime(), ClockTime_r()
Get or set a clock
- close()
Close a file
- closedir()
Close a directory
- _cmdfd()
Return a file descriptor for the executable file
- _cmdname()
Find the path used to invoke the current process
- confstr()
Get configuration-defined string values
- connect()
Initiate a connection on a socket
- ConnectAttach(), ConnectAttach_r()
Establish a connection between a process and a channel
- ConnectClientInfo(), ConnectClientInfo_r()
Store information about a client connection
- ConnectDetach(), ConnectDetach_r()
Break a connection between a process and a channel
- ConnectFlags(), ConnectFlags_r()
Modify the flags associated with a connection
- ConnectServerInfo(), ConnectServerInfo_r()
Get information about a server connection
- copysign(), copysignf()
Copy the sign bit from one number to another
- cos(), cosf(), cosl()
Compute the cosine of an angle
- cosh(), coshf(), coshl()
Compute the hyperbolic cosine
- creat(), creat64()
Create and open a file (low-level)
- crypt()
Encrypt a password
- ctermid()
Generate the path name of the current controlling terminal
- ctime(), ctime_r()
Convert calendar time to local time