home *** CD-ROM | disk | FTP | other *** search
/ BUG 15 / BUGCD1998_06.ISO / aplic / jbuilder / jruntime.z / fd_md.h < prev    next >
C/C++ Source or Header  |  1997-08-25  |  2KB  |  49 lines

  1. /*
  2.  * @(#)fd_md.h    1.5 96/11/23
  3.  * 
  4.  * Copyright (c) 1995, 1996 Sun Microsystems, Inc. All Rights Reserved.
  5.  * 
  6.  * This software is the confidential and proprietary information of Sun
  7.  * Microsystems, Inc. ("Confidential Information").  You shall not
  8.  * disclose such Confidential Information and shall use it only in
  9.  * accordance with the terms of the license agreement you entered into
  10.  * with Sun.
  11.  * 
  12.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  13.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  14.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  15.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  16.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  17.  * THIS SOFTWARE OR ITS DERIVATIVES.
  18.  * 
  19.  * CopyrightVersion 1.1_beta
  20.  * 
  21.  */
  22.  
  23. #ifndef    _WIN32_FD_MD_H_
  24. #define    _WIN32_FD_MD_H_
  25.  
  26. #include <windows.h>
  27. #include <sys/types.h>
  28. #include <ctype.h>
  29. #include <stdlib.h>
  30.  
  31. #include "java_io_FileDescriptor.h"
  32.  
  33. #define    MAXPATHLEN _MAX_PATH
  34.  
  35. void sysInitFD(Classjava_io_FileDescriptor *, int);
  36.  
  37. int sysOpenFD(Classjava_io_FileDescriptor *, const char *, int, int);
  38. void sysCloseFD(Classjava_io_FileDescriptor *);
  39. void sysSocketFD(Classjava_io_FileDescriptor *, long);
  40. int sysReadFD(Classjava_io_FileDescriptor *, char *, int);
  41. int sysWriteFD(Classjava_io_FileDescriptor *, char *, int);
  42. int sysRecvFD(Classjava_io_FileDescriptor *, char *, int, int);
  43. int sysSendFD(Classjava_io_FileDescriptor *, char *, int, int);
  44. int sysAvailableFD(Classjava_io_FileDescriptor *, long *);
  45. long sysLseekFD(Classjava_io_FileDescriptor *, long, long);
  46. void sysSyncFD(Classjava_io_FileDescriptor *);
  47.  
  48. #endif    /* !_WIN32_FD_MD_H_ */
  49.