Active C PagesTechnicalFAQDownloads

Home

ACP

Contact

Projects


Categories

[Index]

ACP Scripting
ACP Internal
ACP Container
Application
Web Internal
Web External
Utility

Files

acp_db.c
acp_run.c
acp_util.c

acp_util.c

   File         : acp_util.c
   Description  : An arbitrary bunch of utility functions
   Category     : ACP Internal
   Author       : Charles Yates

UTIL_Chomp

   char * DLLEXP UTIL_Chomp( char *string )
 
   Function     : UTIL_Chomp
   Description  : Removes CR/LF or LF from the end of a string
   Input        : char *string - string to chomp
   Output       : string is chomped
   Returns      : string

UTIL_Sleep

   void UTIL_Sleep( int sec, long ns )
 
   Function     : UTIL_Sleep
   Description  : Sleeps for a given time
   Input        : int sec - seconds
                  int ns - nanoseconds
   Output       : thread or process sleeps for a period
   Returns      : void