summaryrefslogtreecommitdiff
path: root/docs/tutorials/019/client.cpp
diff options
context:
space:
mode:
authorjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-22 03:14:02 +0000
committerjcej <jcej@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-09-22 03:14:02 +0000
commit251cb77e8da6e2c956a6fe929e3e6a0b0c3397fa (patch)
tree4b2fe438c5cd19dad7e9527174220e7fcc9daa4b /docs/tutorials/019/client.cpp
parent1273cca419871e8c04554dbf4b538f69453b3955 (diff)
downloadATCD-251cb77e8da6e2c956a6fe929e3e6a0b0c3397fa.tar.gz
*** empty log message ***
Diffstat (limited to 'docs/tutorials/019/client.cpp')
-rw-r--r--docs/tutorials/019/client.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorials/019/client.cpp b/docs/tutorials/019/client.cpp
index b47cf8b1503..cf57b8ec2ec 100644
--- a/docs/tutorials/019/client.cpp
+++ b/docs/tutorials/019/client.cpp
@@ -4,7 +4,7 @@
#include "shmem.h"
#if defined(ACE_LACKS_SYSV_SHMEM)
-int
+int
main (int, char *[])
{
ACE_ERROR_RETURN ((LM_ERROR,
@@ -12,7 +12,7 @@ main (int, char *[])
100);
}
#else // ACE_LACKS_SYSV_SHMEM
-int
+int
main (int, char *[])
{
/*
@@ -26,9 +26,9 @@ main (int, char *[])
char *shm = (char *) shm_client.malloc ();
/*
- If the segment identified by SHM_KEY didn't exist then we'll
+ If the segment identified by SHM_KEY didn't exist then we'll
get back a 0 from malloc(). You should do this check even
- if you include the CREATE flag 'cause you never know when it
+ if you include the CREATE flag 'cause you never know when it
might fail.
*/
if (shm == 0)
@@ -52,7 +52,7 @@ main (int, char *[])
putchar (*s);
*s = toupper(*s);
}
-
+
putchar ('\n');
/*