diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-07-31 19:43:45 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-07-31 19:43:45 -0700 |
commit | ae616308f83458cfce286303ea34022810c7ec72 (patch) | |
tree | 5a0264071bf386d40ecd407e7bcb66ceaf8103a8 /portability.h | |
parent | c20155c1872b6d07ee01f07899dd75bcd6e65ec1 (diff) |
Give a better discussion of possible errors.
Give each warning and error code its own paragraph.
Note that, in the future, additional warning and error codes may be
added, so programs should treat *all* negative return codes as errors,
and, if the warning or error code isn't one the program specifically
checks for, and isn't PCAP_ERROR, it should use pcap_statustostr() to
report the error.
(Yes, we've added additional return codes in the past, subsequent to
release 1.0, so it's not as if we're changing anything with this
announcement.)
Diffstat (limited to 'portability.h')
0 files changed, 0 insertions, 0 deletions