gt4702b@pyr.gatech.EDU (SINGLE,THOMAS GEORGE) (10/17/88)
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
davidsen@steinmetz.ge.com (William E. Davidsen Jr) (10/20/88)
In article <6590@pyr.gatech.EDU> gt4702b@pyr.UUCP (SINGLE,THOMAS GEORGE) writes: | 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? This looks like an application for shared memory. You said it was SysV so it should work. Good luck with with your new shell. -- bill davidsen (wedu@ge-crd.arpa) {uunet | philabs}!steinmetz!crdos1!davidsen "Stupidity, like virtue, is its own reward" -me