diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-24 01:23:45 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-09-24 01:23:45 +0000 |
commit | 971b5fef4c0790745d71d7493090c54af9fc3b60 (patch) | |
tree | b9031b2eb4584c797d558a208156cb50296c257e /docs/tutorials/020/client.cpp | |
parent | 39c67e8460275499ffcaf2ed95fe4df6cd157f28 (diff) | |
download | ATCD-pos_avsvc_split.tar.gz |
This commit was manufactured by cvs2svn to create tagpos_avsvc_split
'pos_avsvc_split'.
Diffstat (limited to 'docs/tutorials/020/client.cpp')
-rw-r--r-- | docs/tutorials/020/client.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/docs/tutorials/020/client.cpp b/docs/tutorials/020/client.cpp deleted file mode 100644 index ba9ad43a862..00000000000 --- a/docs/tutorials/020/client.cpp +++ /dev/null @@ -1,31 +0,0 @@ - -// $Id$ - -#include "mmap.h" - -int main (int, char *[]) -{ - ACE_Shared_Memory_MM shm_client (SHM_KEY, SHMSZ); - char *shm = (char *) shm_client.malloc (); - - ACE_DEBUG ((LM_INFO, "(%P|%t) Memory Mapped file is at 0x%x\n", - shm )); - - if( ! shm ) - { - ACE_ERROR_RETURN ((LM_ERROR,"(%P|%t) Could not get the mmapped file!\n"),100); - } - - for (char *s = shm; *s != '\0'; s++) - { - putchar (*s); - *s = toupper(*s); - } - - putchar ('\n'); - *shm = '*'; - - shm_client.close(); - - return 0; -} |