UNIX fork() equivalent in Windows

This is a discussion on UNIX fork() equivalent in Windows within the Windows Programming forums, part of the Platform Specific Boards category; Hello everyone, Does anyone know if there's an equivalent in Windows to UNIX's fork() system call? I have a system ...

  1. #1
    Registered User argon's Avatar
    Join Date
    Jan 2002
    Posts
    12

    Question UNIX fork() equivalent in Windows

    Hello everyone,

    Does anyone know if there's an equivalent in Windows to UNIX's fork() system call?

    I have a system already workin in UNIX, but now I need to create a similar one in Windows, and the only thing I've found is the spawn family which would be the equivalent to exec.

    Thanks in advance
    Greetings from México

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    I don't think there is an exact equivalent, but you can use CreateProcess() to get more or less the same functionality.

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Since the question has already been answered I'll give you some advice. You should use the cygwin compiler. It is a native unix compiler that uses a windows wrapper to port programs written for unix to windows without any changes to the code.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Setting up a Unix box
    By @nthony in forum Tech Board
    Replies: 6
    Last Post: 07-22-2007, 11:22 PM
  2. FlashWindowEx not declared?
    By Aidman in forum Windows Programming
    Replies: 3
    Last Post: 05-17-2003, 03:58 AM
  3. How May I connect from Windows NT to Unix
    By jose luis in forum C Programming
    Replies: 3
    Last Post: 08-22-2002, 04:12 PM
  4. Windows or Unix environment
    By ghe1 in forum Windows Programming
    Replies: 5
    Last Post: 02-19-2002, 11:37 AM
  5. unix, windows
    By stef in forum C Programming
    Replies: 3
    Last Post: 09-14-2001, 04:37 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21