Linux-kernel mailing list archive 2000-15,: Re: An alternative way of populating /proc

# Re: An alternative way of populating /proc

Richard Gooch (rgooch@ras.ucalgary.ca)
Tue, 11 Apr 2000 12:24:41 -0600

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: kuznet@ms2.inr.ac.ru: "Re: Bug with FIONREAD for TCP?"
- Previous message: Steve Dodd: "loopback blockdev deadlocks (Re: Reading from loopback-mounted ISO9660 disk image hangs)"
- Next in thread: Matthew Kirkwood: "Re: An alternative way of populating /proc"
- Reply: Matthew Kirkwood: "Re: An alternative way of populating /proc"

Matthew Kirkwood writes:
> On Tue, 11 Apr 2000, Matt Aubury wrote:
>
> > create_proc_entries(NULL,
> > "test:{bar:{x:%d,y:%d,z:%d},foo:%f}",
> > &x, &y, &z, foo_fun);
>
> Thinking further about it, could the %'s become something
> else? It'd be nice to be able to make these strings with
> sprintf().

No problem. Use "%%".

Regards,

Richard....
Permanent: rgooch@atnf.csiro.au
Current: rgooch@ras.ucalgary.ca

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: kuznet@ms2.inr.ac.ru: "Re: Bug with FIONREAD for TCP?"
- Previous message: Steve Dodd: "loopback blockdev deadlocks (Re: Reading from loopback-mounted ISO9660 disk image hangs)"
- Next in thread: Matthew Kirkwood: "Re: An alternative way of populating /proc"
- Reply: Matthew Kirkwood: "Re: An alternative way of populating /proc"