3 ms·
There’s also the use of typedef to help make function declarations. Such as: typedef void fptr_t(int); fptr_t foo; That would effectively declare a funct
by winocm 2y ago
There’s also the use of typedef to help make function declarations.
Such as:
typedef void fptr_t(int);
fptr_t foo;
That would effectively declare a function with the prototype: `void foo(int)'. This pattern is used quite a bit in BSD kernels.