Is there a way to find the decleration/defination of a struct?
I was just playing with my own resource manager, and needed to know the
members of
io_mknod_t but dow do I find them. A search in the help viewer did not give
any result, and i don’t know which file defines the header.
So do there exists a program to search for struct definations, or can it be
done with a obscure combination of find cat and grip, or do I just need to
write the program myself. There must be other out there with the same
problem.
Martin Tilsted.
On Fri, 13 Apr 2001 18:51:59 +0200, “Martin Tilsted” <Tiller@adr.dk>
wrote:
Is there a way to find the decleration/defination of a struct?
I was just playing with my own resource manager, and needed to know the
members of
io_mknod_t but dow do I find them. A search in the help viewer did not give
any result, and i don’t know which file defines the header.
So do there exists a program to search for struct definations, or can it be
done with a obscure combination of find cat and grip, or do I just need to
write the program myself. There must be other out there with the same
problem.
grep “} io_mkmod_t” /usr/include//
Source Navigator ( which if forget where to download it from)
could be use for that. It’s requires a tad more resources
then grep
Martin Tilsted.
Yes, but it can also tell you a whole lot more than grep
-----Original Message-----
From: mcharest@nozinformatic.com (Mario Charest)
[mailto:mcharest@nozinformatic.com]
Posted At: Friday, April 13, 2001 10:03 AM
Posted To: os
Conversation: How to find a struct defination
Subject: Re: How to find a struct defination
On Fri, 13 Apr 2001 18:51:59 +0200, “Martin Tilsted” <Tiller@adr.dk>
wrote:
Is there a way to find the decleration/defination of a struct?
I was just playing with my own resource manager, and needed to know the
members of
io_mknod_t but dow do I find them. A search in the help viewer did not
give
any result, and i don’t know which file defines the header.
So do there exists a program to search for struct definations, or can
it be
done with a obscure combination of find cat and grip, or do I just need
to
write the program myself. There must be other out there with the same
problem.
grep “} io_mkmod_t” /usr/include//
Source Navigator ( which if forget where to download it from)
could be use for that. It’s requires a tad more resources
then grep
Martin Tilsted.