分类: LINUX
2008-08-12 15:42:26
apt-cache search GNU c library |
glibc-doc-reference - GNU C Library: Documentation libc6 - GNU C Library: Shared libraries libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64 libc6-dbg - GNU C Library: Libraries with debugging symbols libc6-dev - GNU C Library: Development Libraries and Header Files libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64 libc6-i686 - GNU C Library: Shared libraries [i686 optimized] libc6-pic - GNU C Library: PIC archive library libc6-prof - GNU C Library: Profiling Libraries libc6-xen - GNU C Library: Shared libraries [Xen version] |
apt-cache show libc6-dev |
Description: GNU C Library: Development Libraries and Header Files Contains the symlinks, headers, and object files needed to compile and link programs which use the standard C library. |
apt-get install libc6-dev |
dpkg -L libc6-dev |
由于这里只允许上传图片和音乐文件,所以用另一个页面来存储这些文本信息了 |
glibc-doc-reference - GNU C Library: Documentation manpages-dev - Manual pages about using GNU/Linux for development glibc-doc - GNU C Library: Documentation |
/usr/share/doc/glibc-doc/html /usr/share/doc/glibc-doc/html/libc.html /usr/share/doc/glibc-doc/html/libc_1.html /usr/share/doc/glibc-doc/html/libc_2.html /usr/share/doc/glibc-doc/html/libc_3.html /usr/share/doc/glibc-doc/html/libc_4.html /usr/share/doc/glibc-doc/html/libc_5.html /usr/share/doc/glibc-doc/html/libc_6.html /usr/share/doc/glibc-doc/html/libc_7.html /usr/share/doc/glibc-doc/html/libc_8.html /usr/share/doc/glibc-doc/html/libc_abt.html /usr/share/doc/glibc-doc/html/libc_ovr.html /usr/share/doc/glibc-doc/html/libc_toc.html |
NAME abs, labs, llabs, imaxabs - compute the absolute value of an integer SYNOPSIS #include int abs(int j); long int labs(long int j); long long int llabs(long long int j); #include intmax_t imaxabs(intmax_t j); DESCRIPTION The abs() function computes the absolute value of the integer argument j. The labs(), llabs() and imaxabs() functions compute the absolute value of the argument j of the appropriate integer type for the function. RETURN VALUE Returns the absolute value of the integer argument, of the appropriate integer type for the function. |
#include #include int main(int argc, char ** argv) { int x, y; x = -321; y = abs(x); printf("abs(x)=%d\n", y); return 0; } |
NAME sin, sinf, sinl - sine function SYNOPSIS #include double sin(double x); float sinf(float x); long double sinl(long double x); Link with -lm. DESCRIPTION The sin() function returns the sine of x, where x is given in radians. RETURN VALUE The sin() function returns a value between -1 and 1. |
#include #include int main(int argc, char ** argv) { double x, y; x = 60; y = sin(x); printf("sin(x)=%.2f\n", y); return 0; } |