diff options
author | Steve Fink <sphink@gmail.com> | 2006-08-07 04:29:06 +0200 |
---|---|---|
committer | Ian Wienand <ianw@debian.org> | 2006-08-07 04:29:06 +0200 |
commit | 6a48a6d7f428cd7f0796477a3892603a83fcce99 (patch) | |
tree | b223635601c7b849dc194b43d63078115dc6607f /etc | |
parent | b0315a0acbd219de2c7f02228d7fda5c14fb47ef (diff) | |
download | ltrace-6a48a6d7f428cd7f0796477a3892603a83fcce99.tar.gz |
implement string[argN] and string[N] parameter descriptors
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ltrace.conf | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/etc/ltrace.conf b/etc/ltrace.conf index 5c85e19..29c50ec 100644 --- a/etc/ltrace.conf +++ b/etc/ltrace.conf @@ -18,7 +18,14 @@ ; file == (FILE *) [TODO] ; format == ((const char *), ...) [printf() like] [TODO] ; string == (char *) -; stringN == (char *) [N>=0] [show only up to (arg N) bytes] +; string[argN] == (char *) [N>0] [show only up to (arg N) bytes] +; string[retval] == (char *) [show only up to (return val) bytes] +; string[arg0] == (char *) [same as string[retval]] +; string[N] == (char *) [N>0] [show only up to N bytes] + +; Backwards-compatibility: +; string0 == (char *) [same as string[retval]] +; stringN == (char *) [N>0] [same as string[argN]] ; arpa/inet.h int inet_aton(string,addr); @@ -338,7 +345,7 @@ int getpgid(int); int isatty(int); int link(string,string); int mkdir(string,octal); -long read(int, +string0, ulong); +long read(int, +string[retval], ulong); int rmdir(string); int seteuid(uint); int setgid(int); |