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

Nigel Pearson nigel
Tue Aug 14 03:39:37 CEST 2007


> at minimum someone should make a list of what E* are available on  
> mingw
> beos, freebsd and macosx

OS X and FreeBSD:

Symbol       Value on OS
  name        OSX.3  OSX.4 NetBSD FreeBSD
-------------------------------------------------------------
EPERM            1   ,,     ,,     ,,
ENOENT           2   ,,     ,,     ,,
ESRCH            3   ,,     ,,     ,,
EINTR            4   ,,     ,,     ,,
EIO              5   ,,     ,,     ,,
ENXIO            6   ,,     ,,     ,,
E2BIG            7   ,,     ,,     ,,
ENOEXEC          8   ,,     ,,     ,,
EBADF            9   ,,     ,,     ,,
ECHILD          10   ,,     ,,     ,,
EDEADLK         11   ,,     ,,     ,,
ENOMEM          12   ,,     ,,     ,,
EACCES          13   ,,     ,,     ,,
EFAULT          14   ,,     ,,     ,,
ENOTBLK         15   ,,     ,,     ,,
EBUSY           16   ,,     ,,     ,,
EEXIST          17   ,,     ,,     ,,
EXDEV           18   ,,     ,,     ,,
ENODEV          19   ,,     ,,     ,,
ENOTDIR         20   ,,     ,,     ,,
EISDIR          21   ,,     ,,     ,,
EINVAL          22   ,,     ,,     ,,
ENFILE          23   ,,     ,,     ,,
EMFILE          24   ,,     ,,     ,,
ENOTTY          25   ,,     ,,     ,,
ETXTBSY         26   ,,     ,,     ,,
EFBIG           27   ,,     ,,     ,,
ENOSPC          28   ,,     ,,     ,,
ESPIPE          29   ,,     ,,     ,,
EROFS           30   ,,     ,,     ,,
EMLINK          31   ,,     ,,     ,,
EPIPE           32   ,,     ,,     ,,
EDOM            33   ,,     ,,     ,,
ERANGE          34   ,,     ,,     ,,
EAGAIN          35   ,,     ,,     ,,
EWOULDBLOCK   EAGAIN ,,     ,,     ,,
EINPROGRESS     36   ,,     ,,     ,,
EALREADY        37   ,,     ,,     ,,
ENOTSOCK        38   ,,     ,,     ,,
EDESTADDRREQ    39   ,,     ,,     ,,
EMSGSIZE        40   ,,     ,,     ,,
EPROTOTYPE      41   ,,     ,,     ,,
ENOPROTOOPT     42   ,,     ,,     ,,
EPROTONOSUPPORT 43   ,,     ,,     ,,
ESOCKTNOSUPPORT 44   ,,     ,,     ,,
ENOTSUP         45   ,,     86
EOPNOTSUPP   ENOTSUP ,,     45     ,,
EPFNOSUPPORT    46   ,,     ,,     ,,
EAFNOSUPPORT    47   ,,     ,,     ,,
EADDRINUSE      48   ,,     ,,     ,,
EADDRNOTAVAIL   49   ,,     ,,     ,,
ENETDOWN        50   ,,     ,,     ,,
ENETUNREACH     51   ,,     ,,     ,,
ENETRESET       52   ,,     ,,     ,,
ECONNABORTED    53   ,,     ,,     ,,
ECONNRESET      54   ,,     ,,     ,,
ENOBUFS         55   ,,     ,,     ,,
EISCONN         56   ,,     ,,     ,,
ENOTCONN        57   ,,     ,,     ,,
ESHUTDOWN       58   ,,     ,,     ,,
ETOOMANYREFS    59   ,,     ,,     ,,
ETIMEDOUT       60   ,,     ,,     ,,
ECONNREFUSED    61   ,,     ,,     ,,
ELOOP           62   ,,     ,,     ,,
ENAMETOOLONG    63   ,,     ,,     ,,
EHOSTDOWN       64   ,,     ,,     ,,
EHOSTUNREACH    65   ,,     ,,     ,,
ENOTEMPTY       66   ,,     ,,     ,,
EPROCLIM        67   ,,     ,,     ,,
EUSERS          68   ,,     ,,     ,,
EDQUOT          69   ,,     ,,     ,,
ESTALE          70   ,,     ,,     ,,
EREMOTE         71   ,,     ,,     ,,
EBADRPC         72   ,,     ,,     ,,
ERPCMISMATCH    73   ,,     ,,     ,,
EPROGUNAVAIL    74   ,,     ,,     ,,
EPROGMISMATCH   75   ,,     ,,     ,,
EPROCUNAVAIL    76   ,,     ,,     ,,
ENOLCK          77   ,,     ,,     ,,
ENOSYS          78   ,,     ,,     ,,
EFTYPE          79   ,,     ,,     ,,
EAUTH           80   ,,     ,,     ,,
ENEEDAUTH       81   ,,     ,,     ,,
EPWROFF         82   ,,
EDEVERR         83   ,,
EOVERFLOW       84   ,,     ,,     ,,
EBADEXEC        85   ,,
EBADARCH        86   ,,
ESHLIBVERS      87   ,,
EBADMACHO       88   ,,
EDOOFUS                            88
ECANCELED       89   ,,     87     85
EIDRM           90   ,,     82     82
ENOMSG          91   ,,     83     83
EILSEQ          92   ,,     85     86
ENOATTR         93   ,,     93     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
ELAST           93  102     96     92
-------------------------------------------------------------

Someone else will have to add the more obscure(?) OSes.

--
Nigel Pearson, nigel at ind.tansu.com.au|"In this city I confess;
Telstra Net. Eng., Sydney, Australia | god is mammon, more is less.
Office: 9202 3900    Fax:  9261 3912 | Off like lemmings at the gun!
Mobile: 0408 664435  Home: 9792 6998 | I know better, still I run"




More information about the ffmpeg-devel mailing list