diff options
author | Steve Fink <sphink@gmail.com> | 2006-08-07 06:04:43 +0200 |
---|---|---|
committer | Ian Wienand <ianw@debian.org> | 2006-08-07 06:04:43 +0200 |
commit | 1150bc4b812f0150e832607b8724b023d6d7d575 (patch) | |
tree | cf765a6a2db11b92e916d5cca425c41e060851a3 /etc | |
parent | e22411dd33d2d55fd5c6510390954f13fd502d3a (diff) | |
download | ltrace-1150bc4b812f0150e832607b8724b023d6d7d575.tar.gz |
array arguments
Diffstat (limited to 'etc')
-rw-r--r-- | etc/ltrace.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/etc/ltrace.conf b/etc/ltrace.conf index 2ef97e7..fa901fc 100644 --- a/etc/ltrace.conf +++ b/etc/ltrace.conf @@ -27,6 +27,9 @@ ; ignore == (any) [ignore arg, output blank] ; type* == (type *) [pointer to any other type] ; enum (key=value,key=value,...) [enumeration, see below] +; array(type,argN) +; == (type[SIZE]) [array of (arg N) elements] +; array(type,N) == (type[N]) [array of N elements] ; Backwards-compatibility: ; string0 == (char *) [same as string[retval]] @@ -48,6 +51,12 @@ ; an example usage might look like ; int fcntl(int,enum (F_DUPFD=0,F_GETFD=1,F_SETFD=2)) ; +; Arrays +; +; NOTE: Uses of array(...) alone are very rare. You almost always +; want array(...)*. The exceptions are when you have a fixed-size +; array. + ; arpa/inet.h int inet_aton(string,addr); |