[BACK]Return to miscf.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / builtin

Diff for /OpenXM_contrib2/asir2000/builtin/miscf.c between version 1.11 and 1.12

version 1.11, 2001/03/08 07:49:11 version 1.12, 2001/03/19 00:44:01
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/builtin/miscf.c,v 1.10 2000/12/05 01:24:50 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/builtin/miscf.c,v 1.11 2001/03/08 07:49:11 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 54 
Line 54 
 #include <X11/cursorfont.h>  #include <X11/cursorfont.h>
 #endif  #endif
   
   #if defined(VISUAL)
   #include <stdlib.h>
   #include <windows.h>
   #endif
   
 void Pquit(), Pdebug(), Pnmono(), Pnez(), Popt(), Pshell(), Pheap();  void Pquit(), Pdebug(), Pnmono(), Pnez(), Popt(), Pshell(), Pheap();
 void Perror(), Perror3(), Pversion(), Pflist(), Pdelete_history(), Ppause(), Pxpause();  void Perror(), Perror3(), Pversion(), Pflist(), Pdelete_history(), Ppause(), Pxpause();
 void Pr2g(), Pread_cmo(), Pwrite_cmo();  void Pr2g(), Pread_cmo(), Pwrite_cmo();
Line 62  void Pnull_command();
Line 67  void Pnull_command();
 void Pgetenv();  void Pgetenv();
 void Pget_addr(),Phex_dump();  void Pget_addr(),Phex_dump();
 void Ppeek(),Ppoke();  void Ppeek(),Ppoke();
   void Psleep();
   
 void delete_history(int,int);  void delete_history(int,int);
   
 struct ftab misc_tab[] = {  struct ftab misc_tab[] = {
           {"sleep",Psleep,1},
         {"null_command",Pnull_command,-99999},          {"null_command",Pnull_command,-99999},
         {"getenv",Pgetenv,1},          {"getenv",Pgetenv,1},
         {"end",Pquit,0},          {"end",Pquit,0},
Line 96  struct ftab misc_tab[] = {
Line 103  struct ftab misc_tab[] = {
 #endif  #endif
         {0,0,0},          {0,0,0},
 };  };
   
   void Psleep(arg,rp)
   NODE arg;
   Q *rp;
   {
           int ms;
   
           ms = QTOS((Q)ARG0(arg));
   #if defined(VISUAL)
           Sleep(ms);
   #else
           usleep(ms*1000);
   #endif
           *rp = ONE;
   }
   
 void Pgetenv(arg,rp)  void Pgetenv(arg,rp)
 NODE arg;  NODE arg;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>