Date: Sat, 6 Jul 1996 08:46:46 -0600 (MDT) From: "Thomas S. Traylor" <tst@titan.cs.mci.com> To: freebsd-questions@freebsd.org Subject: How do you write to an executable (binary)? Message-ID: <Pine.OSF.3.91.960705112043.18146B-100000@titan.cs.mci.com>
next in thread | raw e-mail | index | archive | help
Here's what I'm trying to do: I have a program that will prompt the user for a value. I would like to write that value to the executable (binary) file. (Using open, lseek, write, close) Problem: When I open the file I get the following error: "Error: Text file busy". The message number is [ETXTBSY]. I'm able to do this with other OS. How can I get this to work with FreeBSD? Any ideas or suggestions would be greatly appreciated. Thanks, Tom -- Thomas Traylor Thomas.Traylor@mci.com tst@titan.cs.mci.com (719) 535-1269
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.91.960705112043.18146B-100000>