sharing memory (re-send)
SINGLE,THOMAS GEORGE
gt4702b at pyr.gatech.EDU
Mon Oct 17 04:59:37 AEST 1988
Ok, here's my task: I am writing a menu-oriented Unix Sys V shell and I want to
include a finger command. Instead of doing a linear search of /etc/passwd each
time, I would prefer to simply use a b-tree from a daemon program.
The menu shell, mensh, would have a status screen that would include number
of users logged on, etc. However, this information would come from the daemon.
The mensh would just pull this information from the memory of the daemon c
program.
The question I am asking is how can the addresses pointed to by one program be
accessed from another program assuming that both have agreed on where certain
values would be kept in memory?
...!gatech!pyr!gt4702b
More information about the Comp.lang.c
mailing list