本文主要是介绍学习笔记:IEEE 1003.13-2003【POSIX PSE54接口列表】,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
一、POSIX PSE54接口列表
根据IEEE 1003.13-2003,整理了POSIX PSE54接口API(一共158个),每个API支持链接查看。
IEEE POSIX接口online搜索链接:
The Open Group Base Specifications Issue 7, 2018 edition
详细内容参考下面表格:
SN | Module/_POSIX_宏 | Function | File |
1 | POSIX_C_LANG_WIDE_CHAR (66=41+18+5+2) | btowc() | <wchar.h> |
2 | mbrlen() | ||
3 | mbrtowc() | ||
4 | mbsinit() | ||
5 | mbsrtowcs() | ||
6 | swprintf() | ||
7 | swscanf() | ||
8 | vswprintf() | ||
9 | vswscanf() | ||
10 | wcrtomb() | ||
11 | wcscat() | ||
12 | wcschr() | ||
13 | wcscmp() | ||
14 | wcscoll() | ||
15 | wcscpy() | ||
16 | wcscspn() | ||
17 | wcsftime() | ||
18 | wcslen() | ||
19 | wcsncat() | ||
20 | wcsncmp() | ||
21 | wcsncpy() | ||
22 | wcspbrk() | ||
23 | wcsrchr() | ||
24 | wcsrtombs() | ||
25 | wcsspn() | ||
26 | wcsstr() | ||
27 | wcstod() | ||
28 | wcstof() | ||
29 | wcstok() | ||
30 | wcstol() | ||
31 | wcstold() | ||
32 | wcstoll() | ||
33 | wcstoul() | ||
34 | wcstoull() | ||
35 | wcsxfrm() | ||
36 | wctob() | ||
37 | wmemchr() | ||
38 | wmemcmp() | ||
39 | wmemcpy() | ||
40 | wmemmove() | ||
41 | wmemset() | ||
42 | iswalnum() | <wctype.h> | |
43 | iswalpha() | ||
44 | iswblank() | ||
45 | iswcntrl() | ||
46 | iswctype() | ||
47 | iswdigit() | ||
48 | iswgraph() | ||
49 | iswlower() | ||
50 | iswprint() | ||
51 | iswpunct() | ||
52 | iswspace() | ||
53 | iswupper() | ||
54 | iswxdigit() | ||
55 | towctrans() | ||
56 | towlower() | ||
57 | towupper() | ||
58 | wctrans() | ||
59 | wctype() | ||
60 | mblen() | <stdlib.h> | |
61 | mbstowcs() | ||
62 | mbtowc() | ||
63 | wcstombs() | ||
64 | wctomb() | ||
65 | wcstoimax() | <inttypes.h> | |
66 | wcstoumax() | ||
67 | POSIX_DEVICE_SPECIFIC (14=10+1+4) | cfgetispeed() | <termios.h> |
68 | cfgetospeed() | ||
69 | cfsetispeed() | ||
70 | cfsetospeed() | ||
71 | tcdrain() | ||
72 | tcflow() | ||
73 | tcflush() | ||
74 | tcgetattr() | ||
75 | tcsendbreak() | ||
76 | tcsetattr() | ||
77 | ctermid() | <stdio.h> | |
78 | isatty() | <unistd.h> | |
79 | ttyname() | ||
80 | ttyname_r() | ||
81 | POSIX_FIFO(1) | mkfifo() | <sys/stat.h> |
82 | POSIX_FILE_ATTRIBUTES (5=3+2) | chmod() | <sys/stat.h> |
83 | fchmod() | ||
84 | umask() | ||
85 | chown() | <unistd.h> | |
86 | fchown() | ||
87 | POSIX_FILE_SYSTEM_EXT (2) | glob() | <glob.h> |
88 | globfree() | ||
89 | POSIX_JOB_CONTROL (3) | setpgid() | <unistd.h> |
90 | tcgetpgrp() | ||
91 | tcsetpgrp() | ||
92 | POSIX_REGEXP(4) | regcomp() | <regex.h> |
93 | regerror() | ||
94 | regexec() | ||
95 | regfree() | ||
96 | POSIX_SHELL_FUNC (5=2+1+2) | pclose() | <stdio.h> |
97 | popen() | ||
98 | system() | <stdlib.h> | |
99 | wordexp() | <wordexp.h> | |
100 | wordfree() | ||
101 | POSIX_STRING_MATCHING (6=1+5) | fnmatch() | <fnmatch.h> |
102 | getopt() | <unistd.h> | |
103 | optarg | ||
104 | opterr | ||
105 | optind | ||
106 | optopt | ||
107 | POSIX_SYMBOLIC_LINKS (3=1+2) | lstat() | <sys/stat.h> |
108 | readlink() | <unistd.h> | |
109 | symlink() | ||
110 | POSIX_SYSTEM_DATABASE (8=4+4) | getgrgid() | <grp.h> |
111 | getgrgid_r() | ||
112 | getgrnam() | ||
113 | getgrnam_r() | ||
114 | getpwnam() | <pwd.h> | |
115 | getpwnam_r() | ||
116 | getpwuid() | ||
117 | getpwuid_r() | ||
118 | POSIX_USER_GROUPS (11) | getegid() | <unistd.h> |
119 | geteuid() | ||
120 | getgid() | ||
121 | getgroups() | ||
122 | getlogin() | ||
123 | getlogin_r() | ||
124 | getuid() | ||
125 | setegid() | ||
126 | seteuid() | ||
127 | setgid() | ||
128 | setuid() | ||
129 | POSIX_WIDE_CHAR_IO (18) | fgetwc() | <wchar.h> |
130 | fgetws() | ||
131 | fputwc() | ||
132 | fputws() | ||
133 | fwide() | ||
134 | fwprintf() | ||
135 | fwscanf() | ||
136 | getwc() | ||
137 | getwchar() | ||
138 | putwc() | ||
139 | putwchar() | ||
140 | ungetwc() | ||
141 | vfwprintf() | ||
142 | vfwscanf() | ||
143 | vwprintf() | ||
144 | vwscanf() | ||
145 | wprintf() | ||
146 | wscanf() | ||
147 | XSI_DYNAMIC_LINKING (4) | dlclose() | <dlfcn.h> |
148 | dlerror() | ||
149 | dlopen() | ||
150 | dlsym() | ||
151 | XSI_SYSTEM_LOGGING (4) | closelog() | <syslog.h> |
152 | openlog() | ||
153 | setlogmask() | ||
154 | syslog() | ||
155 | _POSIX_ADVISORY_INFO (3) | posix_fadvise() | <fcntl.h> |
156 | posix_fallocate() | ||
157 | posix_memalign() | <stdlib.h> | |
158 | _POSIX_ADVISORY_INFO and either _POSIX_MAPPED_FILES or _POSIX_SHARED _MEMORY_OBJECTS(1) | posix_madvise() | <sys/mman.h> |
二、参考
1.学习笔记:IEEE 1003.13-2003(POSIX实时与嵌入式规范)
2.POSIX标准及RT-Thread实现情况
这篇关于学习笔记:IEEE 1003.13-2003【POSIX PSE54接口列表】的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!