📄 readme
字号:
This subsystem ensures that we can always use a certain core set of functions and types, that are either provided by the OS or by replacement functions / definitions in this subsystem. The aim is to try to stick to POSIX functions in here as much as possible. Convenience functions that are available on no platform at all belong in other subsystems(such as LIBUTIL).The following functions are guaranteed:ftruncatestrlcpystrlcatmktimerenameinitgroupsmemmovestrdupsetlinebufvsyslogtimegmsetenvunsetenvstrndupstrnlenwaitpidseteuidsetegidasprintfsnprintfvasprintfvsnprintfopendirreaddirtelldirseekdirclosedirdlopendlclosedlsymdlerrorchrootbzerostrerrorerrnomkdtempmkstemp (a secure one!)preadpwritegetpassreadline (the library)inet_ntoainet_ntopinet_ptoninet_atonstrtollstrtoullsocketpairstrptimegetaddrinfofreeaddrinfogetnameinfogai_strerrorgetifaddrsfreeifaddrsutimeutimesTypes:boolsocklen_tuint_tuint{8,16,32,64}_tint{8,16,32,64}_tintptr_tConstants:PATH_NAME_MAXUINT{16,32,64}_MAXINT32_MAXRTLD_LAZYHOST_NAME_MAXUINT16_MAXUINT32_MAXUINT64_MAXCHAR_BITMacros:va_copy__FUNCTION____FILE____LINE____LINESTR____location____STRING__STRINGSTRINGMINMAXQSORT_CASTZERO_STRUCTZERO_STRUCTPZERO_STRUCTPNZERO_ARRAYARRAY_SIZEPTR_DIFFHeaders:stdint.hstdbool.hPrerequisites:memset (for bzero)syslog (for vsyslog)mktemp (for mkstemp and mkdtemp)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -