Discussion:
[hercules-390] what calls (service.c) - sclp_sysg_write / sclp_sysg_poll ?
Mike Stramba mikestramba@gmail.com [hercules-390]
2018-08-08 21:10:54 UTC
Permalink
Running either of the following returns no results.

grep -i sclp_sysg_poll *.c

grep -i sclp_sysg_write *

A ctags *.c *.h .... then a grep on tags, also only shows the
functions in service.c

I'm guessing some kind of "indirect" setup is performed at ... runtime
? ... compile time ?

Mike
'\'Fish\' (David B. Trout)' david.b.trout@gmail.com [hercules-390]
2018-08-09 04:10:42 UTC
Permalink
Post by Mike Stramba ***@gmail.com [hercules-390]
Running either of the following returns no results.
grep -i sclp_sysg_poll *.c
grep -i sclp_sysg_write *.c
You must be doing something wrong then, because they're there:


C:\Users\Fish\...\hyperion-0> grep -i sclp_sysg_poll *.c

service.c:static void sclp_sysg_poll(SCCB_HEADER *sccb)
service.c: sclp_sysg_poll(sccb);


C:\Users\Fish\...\hyperion-0> grep -i sclp_sysg_write *.c

service.c:static void sclp_sysg_write(SCCB_HEADER *sccb)
service.c: sclp_sysg_write(sccb);



The line numbers are: 515, 608, 1622 and 1706:

service.c:

608: static void sclp_sysg_poll(SCCB_HEADER *sccb)
1706: sclp_sysg_poll(sccb);

service.c:

515: static void sclp_sysg_write(SCCB_HEADER *sccb)
1622: sclp_sysg_write(sccb);


[...]
Post by Mike Stramba ***@gmail.com [hercules-390]
I'm guessing some kind of "indirect" setup is performed
at ... runtime? ... compile time?
Nope.
--
"Fish" (David B. Trout)
Software Development Laboratories
http://www.softdevlabs.com
mail: ***@softdevlabs.com
Loading...