Staging
v0.5.1
https://github.com/python/cpython
Revision 0c07b5081164555ffe5393bff51f0638aeb7da34 authored by Fred Drake on 02 February 2001, 02:51:21 UTC, committed by Fred Drake on 02 February 2001, 02:51:21 UTC
the standard library does not use the SOCKET module any more, and it is
not defined for all platforms (Windows, in particular).
1 parent 57d943a
Raw File
Tip revision: 0c07b5081164555ffe5393bff51f0638aeb7da34 authored by Fred Drake on 02 February 2001, 02:51:21 UTC
The socket constants have been moved to the socket module for a long time;
Tip revision: 0c07b50
sysmodule.h

/* System module interface */

#ifndef Py_SYSMODULE_H
#define Py_SYSMODULE_H
#ifdef __cplusplus
extern "C" {
#endif

DL_IMPORT(PyObject *) PySys_GetObject(char *);
DL_IMPORT(int) PySys_SetObject(char *, PyObject *);
DL_IMPORT(FILE *) PySys_GetFile(char *, FILE *);
DL_IMPORT(void) PySys_SetArgv(int, char **);
DL_IMPORT(void) PySys_SetPath(char *);

DL_IMPORT(void) PySys_WriteStdout(const char *format, ...);
DL_IMPORT(void) PySys_WriteStderr(const char *format, ...);

extern DL_IMPORT(PyObject *) _PySys_TraceFunc, *_PySys_ProfileFunc;
extern DL_IMPORT(int) _PySys_CheckInterval;

DL_IMPORT(void) PySys_ResetWarnOptions(void);
DL_IMPORT(void) PySys_AddWarnOption(char *);

#ifdef __cplusplus
}
#endif
#endif /* !Py_SYSMODULE_H */
back to top