Changeset 96069 in vbox for trunk/include
- Timestamp:
- Aug 5, 2022 11:07:30 PM (2 years ago)
- Location:
- trunk/include/iprt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/errno.h
r93115 r96069 122 122 # define EDEADLK (36) 123 123 # else 124 # define EDEADLK (45) 124 # define EDEADLK (45) /* solaris */ 125 125 # endif 126 126 #endif … … 206 206 # elif defined(RT_OS_LINUX) 207 207 # define ENOMSG (42) 208 # elif defined(RT_OS_WINDOWS) 209 # define ENOMSG (122) 208 210 # else 209 211 # define ENOMSG (35) … … 222 224 # define EIDRM (43) 223 225 # elif defined(RT_OS_WINDOWS) 224 # define EIDRM ( 600)226 # define EIDRM (111) 225 227 # else 226 228 # define EIDRM (36) … … 232 234 # elif defined(RT_OS_LINUX) 233 235 # define EINPROGRESS (115) 234 # else 235 # define EINPROGRESS (150) 236 # elif defined(RT_OS_WINDOWS) 237 # define EINPROGRESS (112) 238 # else 239 # define EINPROGRESS (150) /* solaris */ 236 240 # endif 237 241 #endif … … 241 245 # elif defined(RT_OS_LINUX) 242 246 # define ENAMETOOLONG (36) 243 # else 244 # define ENAMETOOLONG (78) 247 # elif defined(RT_OS_WINDOWS) 248 # define ENAMETOOLONG (38) 249 # else 250 # define ENAMETOOLONG (78) /* solaris */ 245 251 # endif 246 252 #endif … … 259 265 # elif defined(RT_OS_LINUX) 260 266 # define ENOLCK (37) 267 # elif defined(RT_OS_WINDOWS) 268 # define ENOLCK (39) 261 269 # else 262 270 # define ENOLCK (46) … … 273 281 #endif 274 282 275 /** @todo errno constants {37..44}. */ 283 /* 38 - Also ENAMETOOLONG on Windows. */ 284 #ifndef ENOSYS 285 # if defined(RT_ERRNO_OS_BSD) 286 # define ENOSYS (78) 287 # elif defined(RT_OS_LINUX) 288 # define ENOSYS (38) 289 # elif defined(RT_OS_WINDOWS) 290 # define ENOSYS (40) 291 # else 292 # define ENOSYS (89) /* solaris */ 293 # endif 294 #endif 295 #ifndef ENOTSOCK 296 # if defined(RT_ERRNO_OS_BSD) 297 # define ENOTSOCK (38) 298 # elif defined(RT_OS_LINUX) 299 # define ENOTSOCK (88) 300 # elif defined(RT_OS_WINDOWS) 301 # define ENOTSOCK (128) 302 # else 303 # define ENOTSOCK (95) /* solaris */ 304 # endif 305 #endif 306 #ifndef EL2NSYNC 307 # if defined(RT_OS_LINUX) 308 # define EL2NSYNC (45) 309 # elif defined(RT_ERRNO_OS_SYSV_HARDCORE) 310 # define EL2NSYNC (38) /* solaris */ 311 # endif 312 #endif 313 314 /* 39 - Also ENOLCK on Windows. */ 315 #ifndef ENOTEMPTY 316 # if defined(RT_ERRNO_OS_BSD) 317 # define ENOTEMPTY (66) 318 # elif defined(RT_OS_LINUX) 319 # define ENOTEMPTY (39) 320 # elif defined(RT_OS_WINDOWS) 321 # define ENOTEMPTY (41) 322 # else 323 # define ENOTEMPTY (93) /* solaris */ 324 # endif 325 #endif 326 #ifndef EDESTADDRREQ 327 # if defined(RT_ERRNO_OS_BSD) 328 # define EDESTADDRREQ (39) 329 # elif defined(RT_OS_LINUX) 330 # define EDESTADDRREQ (89) 331 # elif defined(RT_OS_WINDOWS) 332 # define EDESTADDRREQ (109) 333 # else 334 # define EDESTADDRREQ (96) /* solaris */ 335 # endif 336 #endif 337 #ifndef EL3HLT 338 # if defined(RT_OS_LINUX) 339 # define EL3HLT (46) 340 # elif defined(RT_ERRNO_OS_SYSV_HARDCORE) 341 # define EL3HLT (39) /* solaris */ 342 # endif 343 #endif 344 345 /* 40 - Also ENOSYS on Windows. */ 346 #ifndef ELOOP 347 # if defined(RT_ERRNO_OS_BSD) 348 # define ELOOP (62) 349 # elif defined(RT_OS_LINUX) 350 # define ELOOP (40) 351 # elif defined(RT_OS_WINDOWS) 352 # define ELOOP (114) 353 # else 354 # define ELOOP (90) /* solaris */ 355 # endif 356 #endif 357 #ifndef EMSGSIZE 358 # if defined(RT_ERRNO_OS_BSD) 359 # define EMSGSIZE (40) 360 # elif defined(RT_OS_LINUX) 361 # define EMSGSIZE (90) 362 # elif defined(RT_OS_WINDOWS) 363 # define EMSGSIZE (115) 364 # else 365 # define EMSGSIZE (97) /* solaris */ 366 # endif 367 #endif 368 #ifndef EL3RST 369 # if defined(RT_OS_LINUX) 370 # define EL3RST (47) 371 # elif defined(RT_ERRNO_OS_SYSV_HARDCORE) 372 # define EL3RST (40) /* solaris */ 373 # endif 374 #endif 375 376 /** @todo errno constants {41..44}. */ 276 377 277 378 /* 45 - also EDEADLK on Solaris, EL2NSYNC on Linux. */ -
trunk/include/iprt/nocrt/errno.h
r96052 r96069 31 31 32 32 #include <iprt/types.h> 33 34 33 #ifdef IPRT_NO_CRT_FOR_3RD_PARTY 35 36 # define EINVAL 22 37 # define ERANGE 34 38 # define ENOMEM 12 39 # define EACCES 13 40 # define EAGAIN 35 41 # define EFAULT 14 42 # define EINTR 4 43 # define ENOSYS 78 44 # define ESRCH 3 45 # define EEXIST 17 34 # include <iprt/errno.h> 46 35 47 36 RT_C_DECLS_BEGIN … … 54 43 #endif /* IPRT_NO_CRT_FOR_3RD_PARTY */ 55 44 56 57 45 #endif /* !IPRT_INCLUDED_nocrt_errno_h */ 58 46
Note:
See TracChangeset
for help on using the changeset viewer.