Re: fork and gtk
- From: "V. Alex Brennen" <vab metanet org>
- To: Matt Eisemann <meisemann dsrnet com>
- Cc: gtk-list gtk org
- Subject: Re: fork and gtk
- Date: Tue, 3 Oct 2000 16:01:16 -0400 (EDT)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 3 Oct 2000, Jeff Shipman wrote:
| Have you made sure that you included unistd.h, which you need
| to use fork()? Many times when you see 'implicit declaration
| of blah blah...' it's because you're missing the necessary
| include file for that function.
I would also suggest that this is the problem -- you're missing
include files. I'm pretty sure that's the case, but if not --
do you need to use pragma or adjust the include path in your
make file?
Not seeing all your code I can't say for sure, but I believe
I've successfully written programs that forked like you're
trying to. I wrote up a short explanation of pipes and
redirection which has the fork code I used. It's right here:
http://www.cryptnet.net/fdp/gtk/exec.html
- VAB
| Matt Eisemann wrote:
|
| > Currently I am hjaving a problem with using fork() and the following should
| > explain better what example or what I am trying to do. If the fork()
| > function is used in the function of main(), then 'fork()' is recognized but
| > not if used in another function.
- ---
V. Alex Brennen [vab metanet org]
[ http://www.metanet.org/people/vab/ ]
F A R B E Y O N D D R I V E N
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE52jsc+pIJc5kqSz8RAj+GAJwJtEjTV34wFgwWuHhxfxbzMZvzegCfVJ8m
gRhpxCXogXtEDz/gHanLGWE=
=mhs2
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]