⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 human.h

📁 Linux下文件工具。
💻 H
字号:
#ifndef HUMAN_H_# define HUMAN_H_ 1# if HAVE_CONFIG_H#  include <config.h># endif# if HAVE_INTTYPES_H#  include <inttypes.h># endif/* A conservative bound on the maximum length of a human-readable string.   The output can be the product of the largest uintmax_t and the largest int,   so add their sizes before converting to a bound on digits.  */# define LONGEST_HUMAN_READABLE ((sizeof (uintmax_t) + sizeof (int)) \				 * CHAR_BIT / 3)# ifndef PARAMS#  if defined PROTOTYPES || (defined __STDC__ && __STDC__)#   define PARAMS(Args) Args#  else#   define PARAMS(Args) ()#  endif# endifenum human_inexact_style{  human_floor = -1,  human_round_to_even = 0,  human_ceiling = 1};char *human_readable PARAMS ((uintmax_t, char *, int, int));char *human_readable_inexact PARAMS ((uintmax_t, char *, int, int,				      enum human_inexact_style));void human_block_size PARAMS ((char const *, int, int *));#endif /* HUMAN_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -