--- dietlibc/t.c 2001/05/09 01:40:36 1.55 +++ dietlibc/t.c 2001/05/10 11:48:30 1.56 @@ -1,3 +1,4 @@ +#define _GNU_SOURCE #define _FILE_OFFSET_BITS 64 #include #include @@ -21,6 +22,8 @@ #include #include #include +#include +#include #if 0 int compint(const void *a,const void *b) { @@ -46,13 +49,19 @@ static int rand() { extern double atof(const char *c); int main(int argc,char *argv[]) { + struct msgbuf bla; + bla.mtype=0; + bla.mtext[0]='x'; + msgsnd(327680,&bla,5,IPC_NOWAIT); #if 0 char buf[PATH_MAX]; printf("%s\n",realpath("../../incoming/..///.zshrc",buf)); #endif +#if 0 regex_t t; regcomp(&t,"foo",0); printf("%d\n",regexec(&t,"/* built-in 'exec' handler */",0,0,0)); +#endif #if 0 float my_float = 9.2334; char buffer[100];