[Gllug] Off Topic: C File Descriptors
Richard Jones
rich at annexia.org
Mon Mar 10 15:15:42 UTC 2008
On Mon, Mar 10, 2008 at 04:02:50AM +0100, salsaman at xs4all.nl wrote:
> /usr/include/bits/posix1_lim.h:#define _POSIX_PATH_MAX 256
>
> I think you will find 512 > 256
_POSIX_PATH_MAX is the minimum path length that a system has to
support. It's not related to the actual length supported.
BTW, C is a difficult language to use at the best of times, and unless
you really understand all of this stuff in detail, I'd suggest using a
higher level language which takes care of garbage collection and has
arbitrary length strings.
Rich.
--
Richard Jones
Red Hat
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list