My slstatus configuration
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

13 行
177 B

  1. #include <stdio.h>
  2. #include "util.h"
  3. const char *
  4. temp(const char *file)
  5. {
  6. int temp;
  7. return (pscanf(file, "%d", &temp) == 1) ?
  8. bprintf("%d", temp / 1000) : NULL;
  9. }