Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
snmp_free_pdu()
Free an SNMP Protocol Data Unit message structure
Synopsis:
#include <sys/types.h> #include <netinet/in.h> #include <snmp/asn1.h> #include <snmp/snmp_api.h> void snmp_free_pdu( struct snmp_pdu * pdu );
Arguments:
- pdu
- A pointer to the snmp_pdu structure that you want to free.
Library:
libsnmp
Use the -l snmp option to qcc to link against this library.
Description:
The snmp_free_pdu() function frees the snmp_pdu structure pointed to by pdu, and any data that it contains that was allocated with malloc().
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
select(), snmp_close(), snmp_open(), snmp_pdu, snmp_read(), snmp_select_info(), snmp_send(), snmp_session, snmp_timeout()
RFC 1157, FAQ in Internet newsgroup comp.protocols.snmp
Marshall T. Rose, The Simple Book: An Introduction to Internet Management, Revised 2nd ed. (Prentice-Hall, 1996, ISBN 0-13-451659-1)
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)