[FFmpeg-devel] [PATCH] Replace ENOSYS by ENOTSUP

Dave Yeo daveryeo
Thu Dec 6 01:08:54 CET 2007


On 08/16/07 12:44 pm, Fran?ois Revol wrote:
>> Nigel Pearson wrote:
>>>> at minimum someone should make a list of what E* are available on  
>>>> mingw
>>>> beos, freebsd and macosx
...

For completeness OS/2 list. Note there are a couple more if EMX or 
kernel is defined

Symbol       Value on OS
   name        OSX.3  OSX.4 NetBSD FreeBSD Windows OS/2 BeOS
-------------------------------------------------------------
EPERM            1   ,,     ,,     ,,     ,,     ,,     0x8000000f
ENOENT           2   ,,     ,,     ,,     ,,     ,,     0x80006003
ESRCH            3   ,,     ,,     ,,     ,,     ,,     0x8000700d
EINTR            4   ,,     ,,     ,,     ,,     ,,     0x8000000a
EIO              5   ,,     ,,     ,,     ,,     ,,     0x80000001
ENXIO            6   ,,     ,,     ,,     ,,     ,,     0x8000700b
E2BIG            7   ,,     ,,     ,,     ,,     ,,     0x80007001
ENOEXEC          8   ,,     ,,     ,,     ,,     ,,     0x80001302
EBADF            9   ,,     ,,     ,,     ,,     ,,     0x80006000
ECHILD          10   ,,     ,,     ,,     ,,     ,,     0x80007002
EDEADLK         11   ,,     ,,     ,,     36     ,,     0x80007003
ENOMEM          12   ,,     ,,     ,,     ,,     ,,     0x80000000
EACCES          13   ,,     ,,     ,,     ,,     ,,     0x80000002
EFAULT          14   ,,     ,,     ,,     ,,     ,,     0x80001301
ENOTBLK         15   ,,     ,,     ,,            ,,
EBUSY           16   ,,     ,,     ,,     ,,     ,,     0x8000000e
EEXIST          17   ,,     ,,     ,,     ,,     ,,     0x80006002
EXDEV           18   ,,     ,,     ,,     ,,     ,,     0x8000600b
ENODEV          19   ,,     ,,     ,,     ,,     ,,     0x80007007
ENOTDIR         20   ,,     ,,     ,,     ,,     ,,     0x80006005
EISDIR          21   ,,     ,,     ,,     ,,     ,,     0x80006009
EINVAL          22   ,,     ,,     ,,     ,,     ,,     0x80000005
ENFILE          23   ,,     ,,     ,,     ,,     ,,     0x80007006
EMFILE          24   ,,     ,,     ,,     ,,     ,,     0x8000600a
ENOTTY          25   ,,     ,,     ,,     ,,     ,,     0x8000700a
ETXTBSY         26   ,,     ,,     ,,            ,,
EFBIG           27   ,,     ,,     ,,     ,,     ,,     0x80007004
ENOSPC          28   ,,     ,,     ,,     ,,     ,,     0x80006007
ESPIPE          29   ,,     ,,     ,,     ,,     ,,     0x8000700c
EROFS           30   ,,     ,,     ,,     ,,     ,,     0x80006008
EMLINK          31   ,,     ,,     ,,     ,,     ,,     0x80007005
EPIPE           32   ,,     ,,     ,,     ,,     ,,     0x8000600d
EDOM            33   ,,     ,,     ,,     ,,     ,,     0x80007010
ERANGE          34   ,,     ,,     ,,     ,,     ,,     0x80007011
EAGAIN          35   ,,     ,,     ,,     11     ,,     0x8000000b
EWOULDBLOCK   EAGAIN ,,     ,,     ,,          EAGAIN   EAGAIN
EINPROGRESS     36   ,,     ,,     ,,            ,,     0x80007024
EALREADY        37   ,,     ,,     ,,            ,,     0x80007025
ENOTSOCK        38   ,,     ,,     ,,            ,,     0x8000702c
EDESTADDRREQ    39   ,,     ,,     ,,            ,,
EMSGSIZE        40   ,,     ,,     ,,            ,,     0x8000702a
EPROTOTYPE      41   ,,     ,,     ,,            ,,     0x80007012
ENOPROTOOPT     42   ,,     ,,     ,,            ,,     0x80007022
EPROTONOSUPPORT 43   ,,     ,,     ,,            ,,     0x80007013
ESOCKTNOSUPPORT 44   ,,     ,,     ,,            ,,
ENOTSUP         45   ,,     86                EOPNOTSUP
EOPNOTSUPP   ENOTSUP ,,     45     ,,                   0x8000702b
EPFNOSUPPORT    46   ,,     ,,     ,,            ,,     0x80007014
EAFNOSUPPORT    47   ,,     ,,     ,,            ,,     0x80007015
EADDRINUSE      48   ,,     ,,     ,,            ,,     0x80007016
EADDRNOTAVAIL   49   ,,     ,,     ,,            ,,     0x80007017
ENETDOWN        50   ,,     ,,     ,,            ,,     0x80007018
ENETUNREACH     51   ,,     ,,     ,,            ,,     0x80007019
ENETRESET       52   ,,     ,,     ,,            ,,     0x8000701a
ECONNABORTED    53   ,,     ,,     ,,            ,,     0x8000701b
ECONNRESET      54   ,,     ,,     ,,            ,,     0x8000701c
ENOBUFS         55   ,,     ,,     ,,            ,,     0x80007023
EISCONN         56   ,,     ,,     ,,            ,,     0x8000701d
ENOTCONN        57   ,,     ,,     ,,            ,,     0x8000701e
ESHUTDOWN       58   ,,     ,,     ,,            ,,     0x8000701f
ETOOMANYREFS    59   ,,     ,,     ,,            ,,
ETIMEDOUT       60   ,,     ,,     ,,            ,,     0x80000009
ECONNREFUSED    61   ,,     ,,     ,,            ,,     0x80007020
ELOOP           62   ,,     ,,     ,,            ,,     0x8000600c
ENAMETOOLONG    63   ,,     ,,     ,,     38     ,,     0x80006004
EHOSTDOWN       64   ,,     ,,     ,,            ,,
EHOSTUNREACH    65   ,,     ,,     ,,            ,,     0x80007021
ENOTEMPTY       66   ,,     ,,     ,,     41     ,,     0x80006006
EPROCLIM        67   ,,     ,,     ,,            ,,
EUSERS          68   ,,     ,,     ,,            ,,
EDQUOT          69   ,,     ,,     ,,            ,,
ESTALE          70   ,,     ,,     ,,            ,,     0x80007028
EREMOTE         71   ,,     ,,     ,,            ,,
EBADRPC         72   ,,     ,,     ,,            ,,
ERPCMISMATCH    73   ,,     ,,     ,,            ,,
EPROGUNAVAIL    74   ,,     ,,     ,,            ,,
EPROGMISMATCH   75   ,,     ,,     ,,            ,,
EPROCUNAVAIL    76   ,,     ,,     ,,            ,,
ENOLCK          77   ,,     ,,     ,,     39     ,,     0x80007008
ENOSYS          78   ,,     ,,     ,,     40     ,,     0x80007009
EFTYPE          79   ,,     ,,     ,,            ,,
EAUTH           80   ,,     ,,     ,,            ,,
ENEEDAUTH       81   ,,     ,,     ,,            ,,
EPWROFF         82   ,,
EDEVERR         83   ,,
EOVERFLOW       84   ,,     ,,     ,,            ,,     0x80007029
EBADEXEC        85   ,,
EBADARCH        86   ,,
ESHLIBVERS      87   ,,
EBADMACHO       88   ,,
EDOOFUS                            88            88
ECANCELED       89   ,,     87     85            85
EIDRM           90   ,,     82     82            82
ENOMSG          91   ,,     83     83            83     0x80007027
EILSEQ          92   ,,     85     86     42     86     0x80007026
ENOATTR         93   ,,     93     87            87
EBADMSG              94     88     89
EMULTIHOP            95     94     90
ENODATA              96     89
ENOLINK              97     95     91
ENOSR                98     90
ENOSTR               99     91
EPROTO              100     96     92
ETIME               101     92
EOPNOTSUPP          102                                 0x8000702b


ELAST           93  102     96     92             88,(92 in svn)

ENOFILE                                   ENOENT
EDEADLOCK                                 EDEADLK
------------------------------------------------------------------------------

Dave




More information about the ffmpeg-devel mailing list