M
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
The following are described elsewhere:
| For information about: | See: |
|---|---|
| major() | stat() |
| makedev() | stat() |
| minor() | stat() |
This chapter describes the API components whose names begin with M.
Related links
- main()
Program entry function
- mallinfo()
Get memory allocation information
- malloc()
Allocate memory
- mallopt()
Control the extra checking for memory allocation
- max()
Return the greater of two numbers
- mblen()
Count the bytes in a multibyte character
- mbrlen()
Count the bytes in a multibyte character (restartable)
- mbrtowc()
Convert a multibyte character into a wide character (restartable)
- mbsinit()
Determine the status of the conversion object used for restartable mb*() functions
- mbsrtowcs()
Convert a multibyte-character string into a wide-character string (restartable)
- mbstowcs()
Convert a multibyte-character string into a wide-character string
- mbtowc()
Convert a multibyte character into a wide character
- mcheck()
Enable memory allocation routine consistency checks
- mem_offset(), mem_offset64()
Get the physical address of a virtually mapped memory block
- memalign()
Allocate aligned memory
- memccpy()
Copy bytes between buffers until a given byte is found
- memchr()
Find the first occurrence of a character in a buffer
- memcmp()
Compare the bytes in two buffers
- memcpy()
Copy bytes from one buffer to another
- memcpyv()
Copy a given number of structures
- memicmp()
Compare two buffers, ignoring case
- memmove()
Copy bytes from one buffer to another, handling overlapping memory correctly
- memset()
Set memory to a given value
- memset_s()
Securely set memory to a given value
- message_attach()
Attach a message range
- message_connect()
Create a connection to a channel
- message_detach()
Detach a message range
- min()
Return the lesser of two numbers
- mkdir()
Create a subdirectory
- mkfifo()
Create a FIFO special file
- mknod()
Make a new filesystem entry point
- mkstemp()
Make a unique temporary filename, and open the file
- mktemp()
Make a unique temporary filename
- mktime()
Convert local time to calendar time
- mlock()
Lock a range of process address space in physical memory
- mlockall()
Lock all of a process's address space
- mmap(), mmap64()
Map a memory region into a process's address space
- mmap_device_io()
Gain access to a device's registers
- mmap_device_memory()
Map a device's physical memory into a process's address space
- modem_open()
Open a serial port
- modem_read()
Read bytes from a file descriptor
- modem_script()
Run a script on a device
- modem_write()
Write a string to a device
- modf(), modff()
Break a number into integral and fractional parts
- mount()
Mount a filesystem
- mount_parse_generic_args()
Strip off common mount arguments
- mprobe()
Perform consistency check on memory
- mprotect()
Change memory protection
- mrand48()
Generate a pseudo-random signed long integer
- _msg_info
Information about a message
- MsgCurrent(), MsgCurrent_r()
Resume processing of a message
- MsgDeliverEvent(), MsgDeliverEvent_r()
Deliver an event through a channel
- MsgError(), MsgError_r()
Unblock a client and set its errno
- MsgInfo(), MsgInfo_r()
Get additional information about a message
- MsgKeyData(), MsgKeyData_r()
Pass data through a common client
- MsgRead(), MsgRead_r()
Read data from a message
- MsgReadv(), MsgReadv_r()
Read data from a message
- MsgReceive(), MsgReceive_r()
Wait for a message or pulse on a channel
- MsgReceivePulse(), MsgReceivePulse_r()
Receive a pulse on a channel
- MsgReceivePulsev(), MsgReceivePulsev_r()
Receive a pulse on a channel
- MsgReceivev(), MsgReceivev_r()
Wait for a message or pulse on a channel
- MsgReply(), MsgReply_r()
Reply with a message
- MsgReplyv(), MsgReplyv_r()
Reply with a message
- MsgSend(), MsgSend_r()
Send a message to a channel
- MsgSendnc(), MsgSendnc_r()
Send a message to a channel (non-cancellation point)
- MsgSendPulse(), MsgSendPulse_r()
Send a pulse to a process
- MsgSendsv(), MsgSendsv_r()
Send a message to a channel
- MsgSendsvnc(), MsgSendsvnc_r()
Send a message to a channel (non-cancellation point)
- MsgSendv(), MsgSendv_r()
Send a message to a channel
- MsgSendvnc(), MsgSendvnc_r()
Send a message to a channel (non-cancellation point)
- MsgSendvs(), MsgSendvs_r()
Send a message to a channel
- MsgSendvsnc(), MsgSendvsnc_r()
Send a message to a channel (non-cancellation point)
- MsgVerifyEvent(), MsgVerifyEvent_r()
Check the validity of a receive ID and an event configuration
- MsgWrite(), MsgWrite_r()
Write a reply
- MsgWritev(), MsgWritev_r()
Write a reply
- msync()
Synchronize memory with physical storage
- munlock()
Unlock the range of process address space already allocated
- munlockall()
Unlock a process's address space
- munmap()
Unmap previously mapped addresses
- munmap_device_io()
Free access to a device's registers
- munmap_device_memory()
Unmap previously mapped addresses
- munmap_flags()
Unmap previously mapped addresses, exercising more control than possible with munmap()