Project

General

Profile

Actions

Bug #196

closed

sys/select.h patch

Added by slynko almost 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Hi,

features of this patch ;)

1) Make sys/select.h POSIX compatible
2) Move selinfo stuff to the separate header sys/selinfo.h
3) Fix namespace pollution in games/larn

In fact, select() moved from unistd.h to sys/select.h,
and also fd_set struct and FD_* macros moved from sys/types.h to
sys/select.h, as it required by
http://www.opengroup.org/onlinepubs/009695399/functions/pselect.html

It's a preparation for the further pselect work, requested at project
page http://wiki.dragonflybsd.org/index.cgi/Projects_Page


Files

select.patch (19.4 KB) select.patch slynko, 06/08/2006 04:55 PM
Actions #1

Updated by dillon almost 18 years ago

:Hi,
:
:features of this patch ;)
:
:1) Make sys/select.h POSIX compatible
:2) Move selinfo stuff to the separate header sys/selinfo.h

Ok, I'll commit nearly all of this, but I am going to keep the
select prototype in <unistd.h> (it will also be in sys/select.h),
at least for the moment, because the BSD documentation has always
indicated that that is where select() lives.
We can consider removing the prototype from unistd.h as a separate issue.

:3) Fix namespace pollution in games/larn

Committed!

:In fact, select() moved from unistd.h to sys/select.h,
:and also fd_set struct and FD_* macros moved from sys/types.h to
:sys/select.h, as it required by
:http://www.opengroup.org/onlinepubs/009695399/functions/pselect.html
:
:It's a preparation for the further pselect work, requested at project
:page http://wiki.dragonflybsd.org/index.cgi/Projects_Page

Actions

Also available in: Atom PDF