zoukankan      html  css  js  c++  java
  • linux 下查看c 函数帮助

    帮助文档

    man man 
    MANUAL SECTIONS
           The standard sections of the manual include:
    
           1      User Commands
    
           2      System Calls
    
           3      C Library Functions
    
           4      Devices and Special Files
    
           5      File Formats and Conventions
    
           6      Games et. Al.
    
           7      Miscellanea
    
           8      System Administration tools and Deamons
    
           Distributions customize the manual section to their  specifics,
           which often include additional sections.

    例子:

    man 3 printf
    PRINTF(3)                  Linux Programmer’s Manual                 PRINTF(3)
    
    NAME
           printf,  fprintf, sprintf, snprintf, vprintf, vfprintf, vsprintf, vsnprintf -
           formatted output conversion
    
    SYNOPSIS
           #include <stdio.h>
    
           int printf(const char *format, ...);
           int fprintf(FILE *stream, const char *format, ...);
           int sprintf(char *str, const char *format, ...);
           int snprintf(char *str, size_t size, const char *format, ...);
    
           #include <stdarg.h>
    
           int vprintf(const char *format, va_list ap);
           int vfprintf(FILE *stream, const char *format, va_list ap);
           int vsprintf(char *str, const char *format, va_list ap);
           int vsnprintf(char *str, size_t size, const char *format, va_list ap);
    
       Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
    
           snprintf(), vsnprintf(): _BSD_SOURCE || _XOPEN_SOURCE >= 500 ||
           _ISOC99_SOURCE; or cc -std=c99
  • 相关阅读:
    Redis 安全
    基于Twemproxy的Redis集群方案(转载)
    Mongodb数据模型
    关于LRU算法(转载)
    基于Redis实现分布式锁(转载)
    Redis持久化(转载)
    redis 内存管理与数据淘汰机制(转载)
    redis事务(转载)
    redis发布与订阅
    redis的数据类型和基本操作
  • 原文地址:https://www.cnblogs.com/brookin/p/4033081.html
Copyright © 2011-2022 走看看