select(2)'s timeout argument
lbland
lbland at vvi.com
Tue Jun 29 11:26:32 PDT 2004
On Jun 29, 2004, at 2:11 PM, Mikhail Teterin wrote:
> Why is the pointer to the `struct timeval' not declared as `const'?
>
> Can select(2) ever modify the structure pointed to? Thanks!
hi-
Some versions of Linux modified timeval. Posix.1g specifies const
qualifier. I think most unixes don't modify it. I think ?? in the old
days some unixes did modify it. legacy and compatibility issues.
thanks!-
-lance
Lance Bland
mailto:lbland at vvi.com
VVI
Mac OS X Charting
http://www.vvi.com
More information about the freebsd-questions
mailing list