系统时间和日期函数:

    #include <time.h>

    char *asctime(const struct tm *tm);//将tm中存放的信息转换为标准格式

    char *asctime_r(const struct tm *tm, char *buf);//分配了最少26个字节的缓冲区来存放转换后的时间

    char *ctime(const time_t *timep);//将time_t中存放的信息转换为标准格式

    char *ctime_r(const time_t *timep, char *buf);//同asctime_r

    struct tm *gtime(const time_t *timep);//将time_t结构提中的时间转换为当地时间,存放在tm结构体中

    struct tm *gtime_r(const time_t *timep, struct tm *result);//同ctime_r

    struct tm *localtime(const time_t *timep);//取当地时间,并转换为标准格式,放在tm中

    struct tm *localtime_r(const time_t *timep, struct tm *result);//取当地时间放在tm结构体的result中

    time_t mktime(struct tm *tm);//将tm所指向的结构体数据转换为从1970年1月1日0时0分0秒开始所经历的秒数

    int gettimeofday(struct timeval *tv, struct timezone *tz);//获取当前时间,放在tv中,tz用于存放相应的时钟信息

    int settimeofday(const struct timeval *tv, const struct timezone *tz);//设置当前时间和时区信息。参数同上    



    随机数产生函数:#include <stdlib.h>  void rand(void);    void srand(unsigned int seed);



大小写字母测试函数:#include <ctype.h>

         int isupper(int c);

        int isalnum(int c);

        int isalpha(int c);

        int isascii(int c);

        int isblank(int c);

        int iscntrl(int c);

        int isdigit(int c);

        int isgraph(int c);

        int islower(int c);    

        int isprint(int c);

        int ispunct(int c);

        int isspace(int c);

        int isxdigit(int c);

系统时间和日期函数:#include <time.h>

        

系统登陆用户名操作函数:

    #include <stdlib.h>

    char *getenv(const char *name);

    #include <stdlib.h>

    int unsetenv(const char *name);

    int setenv(const char *name);

单字符输出函数:

    #include <stdio.h>

    int putchar(int c);

求"不大与"整数函数

最新文章

  1. iOS中空字符串报错
  2. extracting fasta records from a multi-fasta file based on a list using awk
  3. WordPress基础:小工具的使用
  4. mottoes
  5. python基础——定制类
  6. 删除MSSQL数据库中所有表
  7. Android之sqlite 命令
  8. js中的因数分解
  9. js库开发--参数传递及方法修改
  10. 程序猿常识--OJ系统和ACM测试考试大全
  11. [转]ANDROID 探究oom内幕
  12. PGI Compiler for OpenACC Output Syntax Highlighting
  13. 文本处理常用命令--sort,uniq,cut,wc
  14. Problem D
  15. 应急响应-GHO提取注册表快照
  16. [SoapUI] 在SoapUI中,设置开关批量保存整个Response,作为期望结果进行校验
  17. Java并发(六)线程池监控
  18. _itemmod_stat
  19. Android ActivityManager与WindowManager
  20. push(),pop(),unshift(),shift()

热门文章

  1. CFGym 101490E 题解
  2. Autofac log4net Integration Module
  3. 关于FastCgi与PHP-fpm之间是个什么样的关系【转自知乎】
  4. TLS协议扫盲(握手,非对称加密,证书,电子签名等)
  5. eclipse自动生成.apt_generated、factory path
  6. 跟我学算法-吴恩达老师(mini-batchsize,指数加权平均,Momentum 梯度下降法,RMS prop, Adam 优化算法, Learning rate decay)
  7. 几组不错的X264自定义编码&lt;转&gt;
  8. 听说去了BAT的 Linuxers 都做过这套面试题!
  9. 48. Rotate Image (Array)
  10. SQL server2008零基础学习