4 * Copyright (C) 1998 Alexandre Julliard
16 int main( int argc
, char *argv
[] )
20 if (argc
!= 2) goto error
;
21 if (!isdigit( *argv
[1] )) goto error
;
23 /* make sure the fd is valid */
24 if (fcntl( fd
, F_GETFL
, 0 ) == -1) goto error
;
28 if (debug_level
) fprintf( stderr
, "Server: starting (pid=%ld)\n", (long) getpid() );
29 create_initial_thread( fd
);
30 if (debug_level
) fprintf( stderr
, "Server: exiting (pid=%ld)\n", (long) getpid() );
33 dump_objects(); /* dump any remaining objects */
39 fprintf( stderr
, "%s: must be run from Wine.\n", argv
[0] );