Chinaunix首页 | 论坛 | 博客
  • 博客访问: 92058
  • 博文数量: 44
  • 博客积分: 2525
  • 博客等级: 少校
  • 技术积分: 316
  • 用 户 组: 普通用户
  • 注册时间: 2010-04-25 17:01
文章分类

全部博文(44)

文章存档

2010年(44)

我的朋友

分类: C/C++

2010-04-27 21:35:05

C Standard General Utilities Library

This header defines several general purpose functions, including dynamic memory management, random number generation, communication with the environment, integer arthmetics, searching, sorting and converting.

Functions

String conversion:
Convert string to double (function)
Convert string to integer (function)
Convert string to long integer (function)
Convert string to double (function)
Convert string to long integer (function)
Convert string to unsigned long integer (function)

Pseudo-random sequence generation:

Generate random number (function)
Initialize random number generator (functions)

Dynamic memory management:

Allocate space for array in memory (function)
Deallocate space in memory (function)
Allocate memory block (function)
Reallocate memory block (function)

Environment:

Abort current process (function)
Set function to be executed on exit (function)
Terminate calling process (function)
Get environment string (function)
Execute system command (function)

Searching and sorting:

Binary search in array (function)
Sort elements of array (function)

Integer arithmethics:

Absolute value (function)
Integral division (function)
Absolute value (function)
Integral division (function)

Multibyte characters:

Get length of multibyte character (function)
Convert multibyte character to wide character (function)
Convert wide character to multibyte character (function)

Multibyte strings:

Convert multibyte string to wide-character string (function)
Convert wide-character string to multibyte string (function)

Macros

Failure termination code (macro)
Success termination code (macro)
Maximum size of multibyte characters (macro)
Null pointer (macro)
Maximum value returned by rand (macro)

Types

Structure returned by div (type)
Structure returned by div and ldiv (type)
Unsigned integral type (type)
阅读(529) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~