Changeset 3679

Show
Ignore:
Timestamp:
2005年04月10日 20時25分39秒 (4 years ago)
Author:
miyoshi
Message:

* inc/arpa/inet.h: Sync up with Emacs CVS.

* inc/netdb.h: Ditto.

* inc/netinet/in.h: Ditto.

* inc/sys/dir.h: Ditto.

* inc/sys/file.h: Ditto.

* inc/sys/ioctl.h: Ditto.

* inc/sys/param.h: Ditto.

* inc/sys/socket.h: Ditto.

* inc/sys/time.h: Ditto.

* inc/unistd.h: Ditto.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/nt/ChangeLog.Meadow

    r3660 r3679  
     12005-04-10  MIYOSHI Masanori  <miyoshi@meadowy.org> 
     2 
     3        * inc/arpa/inet.h: Sync up with Emacs CVS. 
     4 
     5        * inc/netdb.h: Ditto. 
     6 
     7        * inc/netinet/in.h: Ditto. 
     8 
     9        * inc/sys/dir.h: Ditto. 
     10 
     11        * inc/sys/file.h: Ditto. 
     12 
     13        * inc/sys/ioctl.h: Ditto. 
     14 
     15        * inc/sys/param.h: Ditto. 
     16 
     17        * inc/sys/socket.h: Ditto. 
     18 
     19        * inc/sys/time.h: Ditto. 
     20 
     21        * inc/unistd.h: Ditto. 
     22 
    1232005-03-26  MIYOSHI Masanori  <miyoshi@meadowy.org> 
    224 
  • branches/2.2/nt/inc/arpa/inet.h

    r3104 r3679  
    11/* null version of <arpa/inet.h> - <sys/socket.h> has everything */ 
     2 
     3/* arch-tag: 13c7a7f7-40d0-49e8-bdfb-6dcf2f3a7340 
     4   (do not change this comment) */ 
  • branches/2.2/nt/inc/netdb.h

    r3104 r3679  
    11/* null version of <netdb.h> - <sys/socket.h> has everything */ 
     2 
     3/* arch-tag: 237ba543-97e2-4bd5-9c9c-32271d955eb1 
     4   (do not change this comment) */ 
  • branches/2.2/nt/inc/netinet/in.h

    r3104 r3679  
    11/* null version of <netinet/in.h> - <sys/socket.h> has everything */ 
     2 
     3/* arch-tag: 49ff589e-100e-4f8f-8b2a-1c3b542590df 
     4   (do not change this comment) */ 
  • branches/2.2/nt/inc/sys/dir.h

    r3104 r3679  
    44 
    55#include "..\..\..\src\ndir.h" 
     6 
     7/* arch-tag: 090c9091-3b16-429b-9c40-8aecce1162be 
     8   (do not change this comment) */ 
  • branches/2.2/nt/inc/sys/file.h

    r3104 r3679  
    1010#define D_OK 8 
    1111#endif 
     12 
     13/* arch-tag: 7df3e73e-56bc-4ad9-b699-33149ea47959 
     14   (do not change this comment) */ 
  • branches/2.2/nt/inc/sys/ioctl.h

    r3104 r3679  
    44 * compiler will pick this up empty header instead. 
    55 */ 
     6 
     7/* arch-tag: c6e9015a-930a-4ad3-b368-ac32f84475d7 
     8   (do not change this comment) */ 
  • branches/2.2/nt/inc/sys/param.h

    r3104 r3679  
    99 
    1010#endif /* _PARAM_H_ */ 
     11 
     12/* arch-tag: b1d90296-ec38-4839-83bd-0ddfd2528435 
     13   (do not change this comment) */ 
  • branches/2.2/nt/inc/sys/socket.h

    r3104 r3679  
    8282#define gethostname    sys_gethostname 
    8383#define gethostbyname  sys_gethostbyname 
     84#define getpeername    sys_getpeername 
    8485#define getservbyname  sys_getservbyname 
    8586#define shutdown       sys_shutdown 
     87#define setsockopt     sys_setsockopt 
     88#define listen         sys_listen 
     89#define getsockname    sys_getsockname 
     90#define accept         sys_accept 
     91#define recvfrom       sys_recvfrom 
     92#define sendto         sys_sendto 
    8693 
    8794int sys_socket(int af, int type, int protocol); 
     
    9299unsigned long sys_inet_addr (const char * cp); 
    93100int sys_gethostname (char * name, int namelen); 
    94 struct hostent * sys_gethostbyname(const char * name); 
    95 struct servent * sys_getservbyname(const char * name, const char * proto); 
     101struct hostent * sys_gethostbyname (const char * name); 
     102struct servent * sys_getservbyname (const char * name, const char * proto); 
     103int sys_getpeername (int s, struct sockaddr *addr, int * namelen); 
    96104int sys_shutdown (int socket, int how); 
     105int sys_setsockopt (int s, int level, int oname, const char * oval, int olen); 
     106int sys_listen (int s, int backlog); 
     107int sys_getsockname (int s, struct sockaddr * name, int * namelen); 
     108int sys_accept (int s, struct sockaddr *addr, int *addrlen); 
     109int sys_recvfrom (int s, char *buf, int len, int flags, 
     110                  struct sockaddr *from, int * fromlen); 
     111int sys_sendto (int s, const char * buf, int len, int flags, 
     112                const struct sockaddr *to, int tolen); 
     113 
     114/* In addition to wrappers for the winsock functions, we also provide 
     115   an fcntl function, for setting sockets to non-blocking mode.  */ 
     116int fcntl (int s, int cmd, int options); 
     117#define F_SETFL   4 
     118#define O_NDELAY  04000 
    97119 
    98120/* we are providing a real h_errno variable */ 
     
    142164 
    143165/* end of socket.h */ 
     166 
     167/* arch-tag: e3b8b91c-aaa0-4bc4-be57-a85a1dd247b4 
     168   (do not change this comment) */ 
  • branches/2.2/nt/inc/sys/time.h

    r3104 r3679  
    66 */ 
    77 
    8 struct timeval  
     8struct timeval 
    99  { 
    1010    long tv_sec;        /* seconds */ 
    1111    long tv_usec;       /* microseconds */ 
    1212  }; 
    13 struct timezone  
     13struct timezone 
    1414  { 
    1515    int tz_minuteswest; /* minutes west of Greenwich */ 
     
    2222 
    2323/* end of sys/time.h */ 
     24 
     25/* arch-tag: bc525883-0c81-4bea-b83d-3325461f38b5 
     26   (do not change this comment) */ 
  • branches/2.2/nt/inc/unistd.h

    r3104 r3679  
    11/* Fake unistd.h: config.h already provides most of the relevant things. */ 
     2 
     3/* arch-tag: 68600bcd-3097-4501-a559-551db3cdb9fd 
     4   (do not change this comment) */