view Modules/python.c @ 11855:79ea19085fb6 legacy-trunk

Test case for fork1() behavior. Only the main thread should survive in the child after a fork().
author Guido van Rossum <guido@python.org>
date Fri, 25 Feb 2000 19:25:05 +0000
parents 0f3f9e366356
children 3abecb34737f
line wrap: on
line source

/* Minimal main program -- everything is loaded from the library */

#include "Python.h"

extern DL_EXPORT(int) Py_Main();

int
main(argc, argv)
	int argc;
	char **argv;
{
	return Py_Main(argc, argv);
}