2022-08-16 10:34:42 +08:00

20 lines
466 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

stdlib.h
====================================
简介:
=====
一些常用函数
函数列表:
======
``void *malloc(ssize_t size)`` 普通的 ``malloc``
``void free(void *ptr)`` : 释放内存
``int abs(int x)`` : x 的绝对值
``long labs(long x)`` : x 的绝对值
``long long llabs(long long x)`` : x 的绝对值
``int atoi(const char *str)`` 字符串转数字
``void exit(int status)`` : 普通的 ``exit``