Changeset 578
- Timestamp:
- 02/15/08 11:32:14 (17 years ago)
- Files:
-
- trunk/phobos/std/c/linux/linux.d (modified) (1 diff)
- trunk/phobos/std/c/linux/termios.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/phobos/std/c/linux/linux.d
r307 r578 482 482 */ 483 483 484 484 struct utimbuf 485 485 { 486 486 __time_t actime; 487 487 __time_t modtime; 488 488 } 489 489 490 490 int utime(char* filename, utimbuf* buf); 491 491 } 492 493 extern (C) 494 { 495 /* from unistd.h 496 */ 497 498 gid_t getgid(); 499 uid_t getuid(); 500 int setpgid(pid_t pid, pid_t pgid); 501 pid_t getpgid(pid_t pid); 502 int setpgrp(); 503 pid_t getpgrp(); 504 505 } 506 507 extern (C) 508 { 509 /* from signal.h 510 */ 511 512 int killpg(pid_t, int); 513 } 514 trunk/phobos/std/c/linux/termios.d
r569 r578 19 19 cc_t[NCCS] c_cc; 20 20 speed_t c_ispeed; 21 21 speed_t c_ospeed; 22 22 } 23 23 24 24 int tcgetattr(int fd, termios* p); 25 25 26 26 enum { TCSANOW, TCSADRAIN, TCSAFLUSH } 27 27 int tcsetattr(int fd, int tcsa, const termios* p); 28 28 29 void c vmakeraw(termios* p);29 void cfmakeraw(termios* p); 30 30 31 31 enum { TCIFLUSH, TCOFLUSH, TCIOFLUSH } 32 32 int tcflush(int fd, int tc_flush); 33 33 34 34 enum { TCOOFF, TCOON, TCIOFF, TCION } 35 35 int tcflow(int fd, int tc); 36 36 37 37 int tcsendbreak(int fd, int duration); 38 38 int tcdrain(int fd); 39 39
