Qore Programming Language Reference Manual  0.8.7
 All Classes Namespaces Functions Variables Groups Pages
ql_lib.dox.h
1 
3 namespace Qore {
82 
84 
96 nothing abort();
97 
99 
113 string basename(string path);
114 
116 
120 nothing basename();
121 
123 
137 string dirname(string path);
138 
140 
144 nothing dirname();
145 
147 
157 int errno();
158 
160 
170 nothing exec(string command);
171 
173 
185 nothing exit(softint rc = 0);
186 
188 
214 int fork();
215 
217 
239 list getaddrinfo(*string node, *softstring service, softint family = AF_UNSPEC, softint flags = 0);
240 
242 
255 int getegid();
256 
258 
271 int geteuid();
272 
274 
287 int getgid();
288 
290 
314 *string gethostbyaddr(string addr, softint type = AF_INET);
315 
317 
321 nothing gethostbyaddr();
322 
324 
348 *hash gethostbyaddr_long(string addr, softint type = AF_INET);
349 
351 
355 nothing gethostbyaddr_long();
356 
358 
377 *string gethostbyname(string name);
378 
380 
384 nothing gethostbyname();
385 
387 
406 *hash gethostbyname_long(string name);
407 
409 
413 nothing gethostbyname_long();
414 
416 
429 string gethostname();
430 
432 
445 int getpid();
446 
448 
464 int getppid();
465 
467 
480 int getuid();
481 
483 
503 int kill(softint pid, softint sig = SIGHUP);
504 
506 
513 nothing kill();
514 
516 
531 int rand();
532 
534 
550 int setegid(softint gid);
551 
553 
569 int seteuid(softint uid);
570 
572 
588 int setgid(softint gid);
589 
591 
604 int setsid();
605 
607 
623 int setuid(softint uid);
624 
626 
640 int sleep(softint seconds);
641 
643 
650 nothing sleep();
651 
653 
665 nothing srand(softint seed);
666 
668 
675 nothing srand();
676 
678 
691 string strerror(softint err);
692 
694 
707 string strerror();
708 
710 
725 int system(string command);
726 
728 
735 nothing system();
736 
738 
754 int usleep(softint usecs);
755 
757 
773 int usleep(date d);
774 
776 
783 nothing usleep();
784 
786 };