Re: Multi-destiny Traps

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.devel,gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/3/24 Sergio Cabaço <[email protected]>:
>  I realised that in linux the net-snmp uses /usr/bin/getopt function in snmp_parse_args.c

No - it will use the "getopt()" library call - not the command-line binary.


>    and in the unix based system that function doesn't exists on the system.

What O/S is this "unix-based system"?
What does "man getopt" report?

(Forget about whether there's a getopt command or not - that's not
relevant here).

Frankly, I would be amazed if it didn't include a getopt() call.
It's part of the POSIX specification, so it would be a very very odd
Unix that omitted it.

Dave

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.