[FFmpeg-devel] setmode(fd, flag)

Ramiro Polla ramiro.polla
Thu Dec 18 23:07:52 CET 2008

On Tue, Dec 16, 2008 at 3:48 PM, M?ns Rullg?rd <mans at mansr.com> wrote:
> Fran?ois Revol wrote:
>>> Yes. But it is defined in BeOS (IIRC) and setmode does something
>>> completely different. So the code, as is, is not good.
>> BSD has its own setmode(), see
>> http://www.manpagez.com/man/3/setmode/
>> It's been discussed already several times here.
>>> It seems (from msdn [0]) that _setmode is preferred.
>> Then check for it in configure...
>> but make sure it doesn't colide with a weak symbol fallback
>> elsewhere...
> Since a variety of setmode() functions seem to exist on different
> systems, I suggest manually enabling its use in the OS-specific part
> of configure on the relevant systems.

Like $attached?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binary_files.diff
Type: text/x-diff
Size: 1983 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081218/8ab1ec69/attachment.diff>

More information about the ffmpeg-devel mailing list