VirtualBox

Changeset 33233 in vbox


Ignore:
Timestamp:
Oct 19, 2010 2:32:19 PM (14 years ago)
Author:
vboxsync
Message:

Runtime/file: defines for stdin/out/err native handles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/file.h

    r28800 r33233  
    44
    55/*
    6  * Copyright (C) 2006-2007 Oracle Corporation
     6 * Copyright (C) 2006-2010 Oracle Corporation
    77 *
    88 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    4747#else
    4848# define RTFILE_LINEFEED    "\n"
     49#endif
     50
     51/** Platform specific native standard input "handle". */
     52#ifdef RT_OS_WINDOWS
     53# define RTFILE_NATIVE_STDIN ((uint32_t)-10)
     54#else
     55# define RTFILE_NATIVE_STDIN 0
     56#endif
     57
     58/** Platform specific native standard outt "handle". */
     59#ifdef RT_OS_WINDOWS
     60# define RTFILE_NATIVE_STDOUT ((uint32_t)-11)
     61#else
     62# define RTFILE_NATIVE_STDOUT 1
     63#endif
     64
     65/** Platform specific native standard error "handle". */
     66#ifdef RT_OS_WINDOWS
     67# define RTFILE_NATIVE_STDERR ((uint32_t)-12)
     68#else
     69# define RTFILE_NATIVE_STDERR 2
    4970#endif
    5071
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette