summaryrefslogtreecommitdiff
path: root/docs/tutorials/020/client.cpp
diff options
context:
space:
mode:
authornobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-13 00:26:05 +0000
committernobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-13 00:26:05 +0000
commit7a042e4f8a987a50143415af690a878881d4b48f (patch)
tree338a92488326f0585d65743bd3d6ec0650fd6db1 /docs/tutorials/020/client.cpp
parent9b50028195a935518c2716dcdb94d5bb167a0af2 (diff)
downloadATCD-TAO-1_0_4.tar.gz
This commit was manufactured by cvs2svn to create tag 'TAO-1_0_4'.TAO-1_0_4
Diffstat (limited to 'docs/tutorials/020/client.cpp')
-rw-r--r--docs/tutorials/020/client.cpp31
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 6be12920164..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;
-}