This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/17459] New: Manual doesn't mention that timeout argument of select can be modified


https://sourceware.org/bugzilla/show_bug.cgi?id=17459

            Bug ID: 17459
           Summary: Manual doesn't mention that timeout argument of select
                    can be modified
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: GavinSmith0123 at gmail dot com
                CC: mtk.manpages at gmail dot com, roland at gnu dot org

In the "Waiting for I/O" node of the manual (which is in the manual/llio.texi
file), in the description of the "select" function, it is mentioned that you
can timeout waiting for input or output by passing a pointer to a struct
timeval object to "select". However, it doesn't say that select can overwrite
this object. This led to a problem when I tried to reuse the struct timeval
object in a loop with a select call.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]