[MPlayer-dev-eng] Re: [PATCH] osd menu fielsel.c

Sergey Pinaev dfo at antex.ru
Thu Nov 21 12:15:06 CET 2002


hi.
On Thu, 21 Nov 2002 12:09:34 +0100
GАbor LИnАrt <lgb at lgb.hu> wrote:

GL> On Thu, Nov 21, 2002 at 09:56:22PM +1100, Daniel Pittman wrote:
>> > man readdir
>> > [...]
GL> Maybe ;-) However I even don't now that struct dirent has got member
GL> d_type on EVERY systems (ie: is it part of any standard?) or not ... If no,
       According to POSIX, the dirent structure contains a  field
       char  d_name[]  of unspecified size, with at most NAME_MAX
       characters preceding the terminating null character.   Use
       of  other  fields  will  harm the portability of your pro-
       grams.  POSIX-2001 also documents the field ino_t d_ino as
       an XSI extension.
(c) man 3 readdir

-------------------------------------------------
Sergey Pinaev, dfo at antex.ru, http://dfo.antex.ru/



More information about the MPlayer-dev-eng mailing list