#include "sys/socket.h"
#include <stdio.h>
#include <termios.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/time.h>
Go to the source code of this file.
|
typedef char * | RLUTIL_STRING_T |
| Defs: Internal typedefs and macros RLUTIL_STRING_T - String type depending on which one of C or C++ is used RLUTIL_PRINT(str) - Printing macro independent of C/C++. More...
|
|
|
enum | {
BLACK,
BLUE,
GREEN,
CYAN,
RED,
MAGENTA,
BROWN,
GREY,
DARKGREY,
LIGHTBLUE,
LIGHTGREEN,
LIGHTCYAN,
LIGHTRED,
LIGHTMAGENTA,
YELLOW,
WHITE,
NONE
} |
| Enums: Color codes. More...
|
|
|
int | usleep (__useconds_t __useconds) |
|
#define _ANSI_BLACK "\033[22;30m" |
#define _ANSI_BLUE "\033[22;34m" |
#define _ANSI_BROWN "\033[22;33m" |
#define _ANSI_CLS "\033[2J" |
#define _ANSI_CYAN "\033[22;36m" |
#define _ANSI_DARKGREY "\033[01;30m" |
#define _ANSI_GREEN "\033[22;32m" |
#define _ANSI_GREY "\033[22;37m" |
#define _ANSI_LIGHTBLUE "\033[01;34m" |
#define _ANSI_LIGHTCYAN "\033[01;36m" |
#define _ANSI_LIGHTGREEN "\033[01;32m" |
#define _ANSI_LIGHTMAGENTA "\033[01;35m" |
#define _ANSI_LIGHTRED "\033[01;31m" |
#define _ANSI_MAGENTA "\033[22;35m" |
#define _ANSI_NONE "\033[0m" |
#define _ANSI_RED "\033[22;31m" |
#define _ANSI_WHITE "\033[01;37m" |
#define _ANSI_YELLOW "\033[01;33m" |
#define max |
( |
|
a, |
|
|
|
b |
|
) |
| (((b)<(a))?(a):(b)) |
Function: max Returns the greater of the two arguments.
#define min |
( |
|
a, |
|
|
|
b |
|
) |
| (((a)<(b))?(a):(b)) |
Function: min Returns the lesser of the two arguments.
#define RLUTIL_INLINE __inline__ |
#define RLUTIL_PRINT |
( |
|
st | ) |
printf("%s", st) |
Defs: Internal typedefs and macros RLUTIL_STRING_T - String type depending on which one of C or C++ is used RLUTIL_PRINT(str) - Printing macro independent of C/C++.
Enums: Color codes.
BLACK - Black BLUE - Blue GREEN - Green CYAN - Cyan RED - Red MAGENTA - Magenta / purple BROWN - Brown / dark yellow GREY - Grey / dark white DARKGREY - Dark grey / light black LIGHTBLUE - Light blue LIGHTGREEN - Light green LIGHTCYAN - Light cyan LIGHTRED - Light red LIGHTMAGENTA - Light magenta / light purple YELLOW - Yellow (bright) WHITE - White (bright)
Enumerator |
---|
BLACK |
|
BLUE |
|
GREEN |
|
CYAN |
|
RED |
|
MAGENTA |
|
BROWN |
|
GREY |
|
DARKGREY |
|
LIGHTBLUE |
|
LIGHTGREEN |
|
LIGHTCYAN |
|
LIGHTRED |
|
LIGHTMAGENTA |
|
YELLOW |
|
WHITE |
|
NONE |
|
int usleep |
( |
__useconds_t |
__useconds | ) |
|