1
- ; ltrace.conf
2
- ;
3
- ; ~/.ltrace.conf will also be read, if it exists. The -F option may be
4
- ; used to suppress the automatic inclusion of both this file and
5
- ; ~/.ltrace.conf, and load a different config file or config files
6
- ; instead.
7
- ;
8
- ; See ltrace.conf(5) for description of syntax of this file.
9
-
10
- ; arpa/inet.h
1
+ # See ltrace.conf(5) for description of syntax of this file.
2
+
3
+ # arpa/inet.h
11
4
typedef in_addr = struct(hex(uint));
12
5
int inet_aton(string, +in_addr*);
13
6
hex(uint) inet_addr(string);
@@ -17,42 +10,42 @@ in_addr inet_makeaddr(hex(int), hex(int));
17
10
hex(uint) inet_lnaof(in_addr);
18
11
hex(uint) inet_netof(in_addr);
19
12
20
- ; bfd.h
13
+ # bfd.h
21
14
void bfd_init();
22
15
int bfd_set_default_target(string);
23
16
addr bfd_scan_vma(string, addr, int);
24
17
addr bfd_openr(string,string);
25
18
int bfd_check_format(addr,int);
26
19
27
- ; ctype.h
20
+ # ctype.h
28
21
char tolower(char);
29
22
char toupper(char);
30
23
addr __ctype_b_loc();
31
24
addr __ctype_tolower_loc();
32
25
addr __ctype_toupper_loc();
33
26
ulong __ctype_get_mb_cur_max();
34
27
35
- ; curses.h
28
+ # curses.h
36
29
int waddch(addr, char);
37
30
int mvprintw(int, int, format);
38
31
int wmove(addr, int, int);
39
32
int waddnstr(addr, string, int);
40
33
string tgoto(string, int, int);
41
34
42
- ; dirent.h
35
+ # dirent.h
43
36
44
- ; We can't portably rely on DIR internals at all. Ideally this would
45
- ; be implemented in a per-OS config file, but even on Linux, we don't
46
- ; know whether there's a lock in the structure or not. Luckily the
47
- ; one interesting datum, file descriptor, we can access reliably.
48
- ; Having the structure half-defined like this is potentially
49
- ; problematic as structure size influences parameter passing. But
50
- ; POSIX always uses pointer to the structure, so it's fine.
37
+ # We can't portably rely on DIR internals at all. Ideally this would
38
+ # be implemented in a per-OS config file, but even on Linux, we don't
39
+ # know whether there's a lock in the structure or not. Luckily the
40
+ # one interesting datum, file descriptor, we can access reliably.
41
+ # Having the structure half-defined like this is potentially
42
+ # problematic as structure size influences parameter passing. But
43
+ # POSIX always uses pointer to the structure, so it's fine.
51
44
52
45
typedef DIR = struct(int);
53
46
54
- ; XXX We can't represent the following portably without having either
55
- ; uulong, or directly uint64_t.'
47
+ # XXX We can't represent the following portably without having either
48
+ # uulong, or directly uint64_t.'
56
49
57
50
typedef ino_t = ulong;
58
51
typedef ino_t64 = ulong;
@@ -72,49 +65,49 @@ void rewinddir(DIR *);
72
65
long telldir(DIR *);
73
66
void seekdir(DIR *, long);
74
67
75
- ; dlfcn.h
68
+ # dlfcn.h
76
69
addr dlopen(string, int);
77
70
string dlerror();
78
71
addr dlsym(addr, string);
79
72
int dlclose(addr);
80
73
81
- ; errno.h
74
+ # errno.h
82
75
addr __errno_location();
83
76
84
- ; fcntl.h
77
+ # fcntl.h
85
78
int open(string,int,octal); ; WARNING: 3rd argument may not be there
86
79
int open64(string,int,octal); ; WARNING: 3rd argument may not be there
87
80
88
- ; fnmatch.h
81
+ # fnmatch.h
89
82
int fnmatch(string, string, int);
90
83
91
- ; getopt.h
84
+ # getopt.h
92
85
int getopt_long(int,addr,string,addr,int*);
93
86
int getopt_long_only(int,addr,string,addr,addr);
94
87
95
- ; grp.h
88
+ # grp.h
96
89
void endgrent();
97
90
addr getgrnam(string);
98
91
void setgrent();
99
92
addr getgrent();
100
93
101
- ; libintl.h
94
+ # libintl.h
102
95
string __dcgettext(string,string,int);
103
96
string bindtextdomain(string, string);
104
97
string textdomain(string);
105
98
106
- ; libio.h
99
+ # libio.h
107
100
char _IO_getc(file);
108
101
int _IO_putc(char,file);
109
102
110
- ; locale.h
103
+ # locale.h
111
104
string setlocale(enum(LC_CTYPE=0, LC_NUMERIC=1, LC_TIME=2, LC_COLLATE=3, LC_MONETARY=4, LC_MESSAGES=5, LC_ALL=6, LC_PAPER=7, LC_NAME=8, LC_ADDRESS=9, LC_TELEPHONE=10, LC_MEASUREMENT=11, LC_IDENTIFICATION=12), string);
112
105
113
- ; mcheck.h
106
+ # mcheck.h
114
107
void mtrace();
115
108
void muntrace();
116
109
117
- ; mqueue.h
110
+ # mqueue.h
118
111
int mq_open(string, int, octal, addr); ; WARNING: 3rd and 4th arguments may not be there
119
112
int mq_close(int);
120
113
int mq_unlink(string);
@@ -126,7 +119,7 @@ int mq_timedsend(int, string3, ulong, uint, addr);
126
119
long mq_receive(int, +string0, ulong, addr);
127
120
long mq_timedreceive(int, +string0, ulong, addr, addr);
128
121
129
- ; netdb.h
122
+ # netdb.h
130
123
void endhostent();
131
124
void endnetent();
132
125
void endnetgrent();
@@ -165,29 +158,29 @@ int setnetgrent(string);
165
158
void setprotoent(int);
166
159
void setservent(int);
167
160
168
- ; netinet/in.h
161
+ # netinet/in.h
169
162
uint ntohs(uint);
170
163
171
- ; pcap.h
164
+ # pcap.h
172
165
string pcap_lookupdev(addr);
173
166
addr pcap_open_live(string, int, int, int, addr);
174
167
int pcap_snapshot(addr);
175
168
int pcap_lookupnet(string, addr, addr, addr);
176
169
int pcap_compile(addr, addr, string, int, addr);
177
170
178
- ; pwd.h
171
+ # pwd.h
179
172
string getpass(string);
180
173
void endpwent();
181
174
addr getpwnam(string);
182
175
void setpwent();
183
176
184
- ; readline/readline.h
177
+ # readline/readline.h
185
178
string readline(string);
186
179
187
- ; signal.h
180
+ # signal.h
188
181
typedef signum = enum(SIGHUP=1, SIGINT=2, SIGQUIT=3, SIGILL=4, SIGTRAP=5, SIGABRT=6, SIGBUS=7, SIGFPE=8, SIGKILL=9, SIGUSR1=10, SIGSEGV=11, SIGUSR2=12, SIGPIPE=13, SIGALRM=14, SIGTERM=15, SIGSTKFLT=16, SIGCHLD=17, SIGCONT=18, SIGSTOP=19, SIGTSTP=20, SIGTTIN=21, SIGTTOU=22, SIGURG=23, SIGXCPU=24, SIGXFSZ=25, SIGVTALRM=26, SIGPROF=27, SIGWINCH=28, SIGIO=29, SIGPWR=30, SIGSYS=31, SIGRTMIN_0=32, SIGRTMIN_1=33, SIGRTMIN_2=34, SIGRTMIN_3=35, SIGRTMIN_4=36, SIGRTMIN_5=37, SIGRTMIN_6=38, SIGRTMIN_7=39, SIGRTMIN_8=40, SIGRTMIN_9=41, SIGRTMIN_10=42, SIGRTMIN_11=43, SIGRTMIN_12=44, SIGRTMIN_13=45, SIGRTMIN_14=46, SIGRTMIN_15=47, SIGRTMIN_16=48, SIGRTMIN_17=49, SIGRTMIN_18=50, SIGRTMIN_19=51, SIGRTMIN_20=52, SIGRTMIN_21=53, SIGRTMIN_22=54, SIGRTMIN_23=55, SIGRTMIN_24=56, SIGRTMIN_25=57, SIGRTMIN_26=58, SIGRTMIN_27=59, SIGRTMIN_28=60, SIGRTMIN_29=61, SIGRTMIN_30=62, SIGRTMIN_31=63);
189
182
typedef sigset_t = bitvec(ulong);
190
- ; elm3 should be flags
183
+ # elm3 should be flags
191
184
typedef sigaction = struct(addr, sigset_t, hex(int), addr);
192
185
int kill(int, signum);
193
186
int sigemptyset(+sigset_t*);
@@ -204,7 +197,7 @@ int sigisemptyset(sigset_t*);
204
197
int sigorset(+sigset_t*, sigset_t*, sigset_t*);
205
198
int sigandset(+sigset_t*, sigset_t*, sigset_t*);
206
199
207
- ; stdio.h
200
+ # stdio.h
208
201
int fclose(file);
209
202
int feof(file);
210
203
int ferror(file);
@@ -238,7 +231,7 @@ void setbuffer(file,addr,ulong);
238
231
void setlinebuf(file);
239
232
int rename(string,string);
240
233
241
- ; stdlib.h
234
+ # stdlib.h
242
235
long __strtol_internal(string,addr,int);
243
236
ulong __strtoul_internal(string,addr,int);
244
237
int atexit(addr);
@@ -276,7 +269,7 @@ void srand48(long);
276
269
array(ushort,3)* seed48(array(ushort,3)*);
277
270
void lcong48(array(ushort,7)*);
278
271
279
- ; string.h
272
+ # string.h
280
273
void bcopy(addr,addr,ulong);
281
274
void bzero(addr,ulong);
282
275
string basename(string);
@@ -305,13 +298,13 @@ ulong strcspn(string,string);
305
298
string strstr(string,string);
306
299
string strtok(string, string);
307
300
308
- ; sys/ioctl.h
301
+ # sys/ioctl.h
309
302
int ioctl(int, int, addr);
310
303
311
- ; sys/socket.h
304
+ # sys/socket.h
312
305
int socket(int,int,int);
313
306
314
- ; sys/stat.h
307
+ # sys/stat.h
315
308
int __fxstat(int,int,addr);
316
309
int __xstat(int,string,addr);
317
310
int __lxstat(int,string,addr);
@@ -323,33 +316,33 @@ int fchmod(int,octal);
323
316
int mkfifo(string,octal);
324
317
octal umask(octal);
325
318
326
- ; sys/utsname.h
319
+ # sys/utsname.h
327
320
int uname(addr);
328
321
329
- ; sys/vfs.h
322
+ # sys/vfs.h
330
323
int statfs(string,addr);
331
324
332
- ; syslog.h
325
+ # syslog.h
333
326
void closelog();
334
327
void openlog(string,int,int);
335
328
void syslog(int,format);
336
329
337
- ; term.h
330
+ # term.h
338
331
int tputs(string, int, addr);
339
332
340
- ; termios.h
333
+ # termios.h
341
334
int tcgetattr(int,addr);
342
335
int tcsetattr(int,int,addr);
343
336
344
- ; time.h
337
+ # time.h
345
338
string ctime(addr);
346
339
int gettimeofday(addr, addr);
347
340
addr gmtime(addr);
348
341
addr localtime(addr);
349
342
ulong strftime(+string2,ulong,string,addr);
350
343
long time(addr);
351
344
352
- ; unistd.h
345
+ # unistd.h
353
346
void _exit(int);
354
347
int access(string, int);
355
348
uint alarm(uint);
@@ -401,66 +394,19 @@ int getpagesize();
401
394
long lseek(int,long,int);
402
395
int pipe(addr);
403
396
404
- ; utmp.h
397
+ # utmp.h
405
398
void endutent();
406
399
addr getutent();
407
400
void setutent();
408
401
409
- ; wchar.h
402
+ # wchar.h
410
403
int fwide(addr, int);
411
404
412
- ; sys/wait.h
405
+ # sys/wait.h
413
406
int wait(addr);
414
407
int waitpid(int,addr,int);
415
408
416
- ; X11/Xlib.h
417
- void XCloseDisplay(addr);
418
- int XMapWindow(addr,addr);
419
- addr XOpenDisplay(string);
420
-
421
- ; sys/acl.h
422
- int acl_add_perm(addr,uint);
423
- int acl_calc_mask(addr);
424
- int acl_clear_perms(addr);
425
- int acl_copy_entry(addr,addr);
426
- int acl_copy_ext(addr,addr,int);
427
- addr acl_copy_int(addr);
428
- int acl_create_entry(addr,addr);
429
- int acl_delete_def_file(string);
430
- int acl_delete_entry(addr,addr);
431
- int acl_delete_perm(addr,uint);
432
- addr acl_dup(addr);
433
- int acl_free(addr);
434
- addr acl_from_text(string);
435
- int acl_get_entry(addr,int,addr);
436
- addr acl_get_fd(int);
437
- addr acl_get_file(string,int);
438
- int acl_get_permset(addr,addr);
439
- addr acl_get_qualifier(addr);
440
- int acl_get_tag_type(addr,addr);
441
- addr acl_init(int);
442
- int acl_set_fd(int,addr);
443
- int acl_set_file(string,int,addr);
444
- int acl_set_permset(addr,addr);
445
- int acl_set_qualifier(addr,addr);
446
- int acl_set_tag_type(addr,int);
447
- int acl_size(addr);
448
- string acl_to_text(addr,addr);
449
- int acl_valid(addr);
450
-
451
- ; acl/libacl.h
452
- int acl_check(addr,addr);
453
- int acl_cmp(addr,addr);
454
- int acl_entries(addr);
455
- int acl_equiv_mode(addr,addr);
456
- string acl_error(int);
457
- int acl_extended_fd(int);
458
- int acl_extended_file(string);
459
- addr acl_from_mode(octal);
460
- int acl_get_perm(addr,uint);
461
- string acl_to_any_text(addr,string,char,int);
462
-
463
- ; other symbols not included above
409
+ # other symbols not included above
464
410
long a64l(string);
465
411
string l64a(long);
466
412
void abort();
0 commit comments