Re: select(2)'s timeout argument

2004-06-29 Thread lbland
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.

Re: select(2)'s timeout argument

2004-06-29 Thread Mikhail Teterin
=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! Thank you very much, Lance, for the quick response! =Some versions of Linux modified timeval. Posix.1g