source: trunk/src/wsock32/unknown.cpp@ 283

Last change on this file since 283 was 283, checked in by phaller, 26 years ago

Add: wsock32.1102 rcmd and .1103 rexec added

File size: 2.8 KB
Line 
1/* $Id: unknown.cpp,v 1.1 1999-07-07 12:18:04 phaller Exp $ */
2
3/*
4 * Project Odin Software License can be found in LICENSE.TXT
5 * Win32 NT Runtime / NTDLL for OS/2
6 * Copyright 1998, 1999 Patrick Haller (phaller@gmx.net)
7 */
8
9
10/*****************************************************************************
11 * Includes *
12 *****************************************************************************/
13
14#include <os2wrap.h>
15#include <misc.h>
16
17
18/*****************************************************************************
19 * Prototypes & Types & Defines *
20 *****************************************************************************/
21
22int _System rexec(char **, int, char *, char *, char *, int *);
23int _System rcmd (char **, int, const char *, const char *, const char *, int *);
24
25
26/*****************************************************************************
27 * Name : int WIN32API OS2rexec
28 * Purpose :
29 * Parameters:
30 * Variables :
31 * Result :
32 * Remark : WSOCK32.1102
33 * Status : UNTESTED
34 *
35 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
36 *****************************************************************************/
37
38int WIN32API OS2rexec(LPSTR *lppArg1,
39 int iArg2,
40 LPSTR lpArg3,
41 LPSTR lpArg4,
42 LPSTR lpArg5,
43 int *lpiArg6)
44{
45 dprintf(("WSOCK32: OS2rexec(%08xh,%08xh,%s,%s,%s,%08xh) not implemented correctly.\n",
46 lppArg1,
47 iArg2,
48 lpArg3,
49 lpArg4,
50 lpArg5,
51 lpiArg6));
52
53 return rexec(lppArg1,
54 iArg2,
55 lpArg3,
56 lpArg4,
57 lpArg5,
58 lpiArg6);
59}
60
61
62/*****************************************************************************
63 * Name : int WIN32API OS2rcmd
64 * Purpose :
65 * Parameters:
66 * Variables :
67 * Result :
68 * Remark : WSOCK32.1103
69 * Status : UNTESTED
70 *
71 * Author : Patrick Haller [Tue, 1999/06/01 09:00]
72 *****************************************************************************/
73
74int WIN32API OS2rcmd(LPSTR *lppArg1,
75 int iArg2,
76 const char *lpArg3,
77 const char *lpArg4,
78 const char *lpArg5,
79 int *lpiArg6)
80{
81 dprintf(("WSOCK32: OS2rcmd(%08xh,%08xh,%s,%s,%s,%08xh) not implemented.\n",
82 lppArg1,
83 iArg2,
84 lpArg3,
85 lpArg4,
86 lpArg5,
87 lpiArg6));
88
89 //@@@PH actually it exists in TCP/IP 5.0 headers. Unknown which OS/2 function to link to.
90 return 0;
91/*
92 return rcmd(lppArg1,
93 iArg2,
94 lpArg3,
95 lpArg4,
96 lpArg5,
97 lpiArg6);
98*/
99}
100
Note: See TracBrowser for help on using the repository browser.