You should be able to do this with Systems/C in LE mode.   We have options for 
that, although I haven't
tried it in an LE environment.

Basically - you can tell the compiler to generate a macro invocation at the 
start and end of the function,
which you could write to do whatever-you-want.

Of course - if you compile with optimization+inlining, there might be no 
"function" there (if it gets
inlined.)  So - it might not be as useful in that situation.

   - Dave R. -

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to