summaryrefslogtreecommitdiff
authorzecke <zecke>2004-03-15 13:33:06 (UTC)
committer zecke <zecke>2004-03-15 13:33:06 (UTC)
commit3fd713c57e921d2969e9a82796c4571185049c7a (patch) (unidiff)
tree1cfdf177273a838c58eb836b32019074ba95ffb6
parenta82d79276fd095c325b3965e3982ab4313667e93 (diff)
downloadopie-3fd713c57e921d2969e9a82796c4571185049c7a.zip
opie-3fd713c57e921d2969e9a82796c4571185049c7a.tar.gz
opie-3fd713c57e921d2969e9a82796c4571185049c7a.tar.bz2
No iostream if printf
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp b/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
index 2193565..c5fc328 100644
--- a/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
+++ b/libopie2/examples/opiecore/oprocessdemo/oprocessdemo.cpp
@@ -1,13 +1,13 @@
1#include <opie2/oprocess.h> 1#include <opie2/oprocess.h>
2#include <iostream> 2#include <stdio.h>
3 3
4using namespace Opie::Core; 4using namespace Opie::Core;
5 5
6int main( int argc, char** argv ) 6int main( int argc, char** argv )
7{ 7{
8 printf( "my own PID seems to be '%d'\n", OProcess::processPID( "oprocessdemo" ) ); 8 printf( "my own PID seems to be '%d'\n", OProcess::processPID( "oprocessdemo" ) );
9 printf( "the PID of process 'Mickey' seems to be '%d'\n\n", OProcess::processPID( "Mickey" ) ); 9 printf( "the PID of process 'Mickey' seems to be '%d'\n\n", OProcess::processPID( "Mickey" ) );
10 10
11 return 0; 11 return 0;
12} 12}
13 13