On Mon, Aug 27, 2007 at 02:19:06PM -0500, Dean Nelson wrote: > No operations can be done once it's closed, only while it's opened. What the hell do you mean, can't be done? fd = open(...); fp = popen("/bin/date", "r"); /* read from fp */ fclose(fp); do operations on fd And you've got yourself open fork duplicating descriptor exit closing that duplicate IO on original, after call of flush - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 1/4] export __put_task_struct for XPMEM
- From: Robin Holt <[email protected]>
- Re: [PATCH 1/4] export __put_task_struct for XPMEM
- References:
- [PATCH 0/4] SGI Altix cross partition memory (XPMEM)
- From: Dean Nelson <[email protected]>
- [PATCH 1/4] export __put_task_struct for XPMEM
- From: Dean Nelson <[email protected]>
- Re: [PATCH 1/4] export __put_task_struct for XPMEM
- From: Al Viro <[email protected]>
- Re: [PATCH 1/4] export __put_task_struct for XPMEM
- From: Dean Nelson <[email protected]>
- Re: [PATCH 1/4] export __put_task_struct for XPMEM
- From: Al Viro <[email protected]>
- Re: [PATCH 1/4] export __put_task_struct for XPMEM
- From: Dean Nelson <[email protected]>
- [PATCH 0/4] SGI Altix cross partition memory (XPMEM)
- Prev by Date: Re: [patch 13/28] Add cmpxchg_local, cmpxchg64 and cmpxchg64_local to ia64
- Next by Date: Re: [patch 00/28] Add cmpxchg64_local and cmpxchg_local to each architecture
- Previous by thread: Re: [PATCH 1/4] export __put_task_struct for XPMEM
- Next by thread: Re: [PATCH 1/4] export __put_task_struct for XPMEM
- Index(es):