Angelo Rajadurai wrote:
typedef unsigned long nfds_t;

# dtrace -Cs test.d
dtrace: failed to compile script test.d: line 1: invalid type declaration: signed and unsigned may only be used with integer type

Now if I change the typedef variable to xx_t then the problem goes away (ie)

typedef unsigned long xx_t;
Out of curiosity, if you try to declare a variable of type nfds_t (no typedef) what happens? I wonder if dtrace thinks it already knows what an nfds_t is?

Ryan
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to