Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changeset 578

Show
Ignore:
Timestamp:
02/15/08 11:32:14 (17 years ago)
Author:
walter
Message:

added missing declarations

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/phobos/std/c/linux/linux.d

    r307 r578  
    482482     */ 
    483483 
    484484    struct utimbuf 
    485485    { 
    486486    __time_t actime; 
    487487    __time_t modtime; 
    488488    } 
    489489 
    490490    int utime(char* filename, utimbuf* buf); 
    491491} 
     492 
     493extern (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 
     507extern (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  
    1919    cc_t[NCCS] c_cc; 
    2020    speed_t c_ispeed; 
    2121    speed_t c_ospeed; 
    2222} 
    2323 
    2424int tcgetattr(int fd, termios* p); 
    2525 
    2626enum { TCSANOW, TCSADRAIN, TCSAFLUSH } 
    2727int tcsetattr(int fd, int tcsa, const termios* p); 
    2828 
    29 void cvmakeraw(termios* p); 
     29void cfmakeraw(termios* p); 
    3030 
    3131enum { TCIFLUSH, TCOFLUSH, TCIOFLUSH } 
    3232int tcflush(int fd, int tc_flush); 
    3333 
    3434enum { TCOOFF, TCOON, TCIOFF, TCION } 
    3535int tcflow(int fd, int tc); 
    3636 
    3737int tcsendbreak(int fd, int duration); 
    3838int tcdrain(int fd); 
    3939