How to determine the start of DATA segment

From: Ram Gupta
Date: Thu Mar 30 2006 - 11:34:24 EST


Is there a system call or library function which a process can use to
determine the start of its data segment . I need to know the start of
the data segment so that process does not cross its DATA limit. Using
this information & sbrk it knows how much data space is already used &
how much it can grow further without crossing the limit.

Thanks
Ram Gupta
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/