Oh, right. execve replaces the existing process with the invoked one, so I'm not sure that use case makes sense. Usually execve is used with fork, too.
If you're concerned with Windows portability, mmap(2) is a bigger problem. Otherwise, not sure why you're asking...?