diff -r 59758314f811 -r d4524d6a4472 Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/unix_8c_source.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/unix_8c_source.html Fri Jun 11 15:24:34 2010 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,61 +0,0 @@ - - - - -TB9.2 Example Applications: examples/PIPS/antiword/src/unix.c Source File - - - - - -

examples/PIPS/antiword/src/unix.c

00001 /*
-00002  * unix.c
-00003  * Copyright (C) 1998-2000 A.J. van Os; Released under GPL
-00004  *
-00005  * Description:
-00006  * Unix approximations of RISC-OS functions
-00007  */
-00008 
-00009 #include <stdio.h>
-00010 #include <stdlib.h>
-00011 #include <stdarg.h>
-00012 #include "antiword.h"
-00013 
-00014 
-00015 /*
-00016  * werr - write an error message and exit if needed
-00017  */
-00018 void
-00019 werr(int iFatal, const char *szFormat, ...)
-00020 {
-00021         va_list tArg;
-00022 
-00023         va_start(tArg, szFormat);
-00024         (void)vfprintf(stderr, szFormat, tArg);
-00025         va_end(tArg);
-00026         fprintf(stderr, "\n");
-00027         switch (iFatal) {
-00028         case 0:         /* The message is just a warning, so no exit */
-00029                 return;
-00030         case 1:         /* Fatal error with a standard exit */
-00031                 exit(EXIT_FAILURE);
-00032         default:        /* Fatal error with a non-standard exit */
-00033                 exit(iFatal);
-00034         }
-00035 } /* end of werr */
-00036 
-00037 void
-00038 Hourglass_On(void)
-00039 {
-00040 } /* end of Hourglass_On */
-00041 
-00042 void
-00043 Hourglass_Off(void)
-00044 {
-00045 } /* end of Hourglass_Off */
-
-
Generated by  - -doxygen 1.6.2
- -