Symbian3/SDK/Source/GUID-063020E5-51C0-45C3-8B8B-015385FA0928.dita
changeset 13 48780e181b38
parent 8 ae94777fff8f
equal deleted inserted replaced
12:80ef3a206772 13:48780e181b38
    16 - stderr, stdin or stdout). Application first prints launching information
    16 - stderr, stdin or stdout). Application first prints launching information
    17 at the console and then opens one file to redirect standard output using <xref href="GUID-6A17B64B-44DC-33F0-B18A-25004500C831.dita"><apiname>freopen()</apiname></xref>.
    17 at the console and then opens one file to redirect standard output using <xref href="GUID-6A17B64B-44DC-33F0-B18A-25004500C831.dita"><apiname>freopen()</apiname></xref>.
    18 Calling <xref href="GUID-6A17B64B-44DC-33F0-B18A-25004500C831.dita"><apiname>freopen()</apiname></xref> once more, the user can change the filename
    18 Calling <xref href="GUID-6A17B64B-44DC-33F0-B18A-25004500C831.dita"><apiname>freopen()</apiname></xref> once more, the user can change the filename
    19 during execution. This helps to redirect application <xref href="GUID-919E1C29-029A-38E2-B844-141A6E02ADA2.dita"><apiname>printf()</apiname></xref> messages
    19 during execution. This helps to redirect application <xref href="GUID-919E1C29-029A-38E2-B844-141A6E02ADA2.dita"><apiname>printf()</apiname></xref> messages
    20 into a log file. </p>
    20 into a log file. </p>
    21 <section id="GUID-026FD8D6-6C4A-5958-B289-775D4AE1E756-GENID-1-10-1-11-1-1-5-1-3-1-11-1-15-1-3-2"><title>Download</title> <p>Click
    21 <section id="GUID-026FD8D6-6C4A-5958-B289-775D4AE1E756-GENID-1-10-1-13-1-1-5-1-3-1-11-1-15-1-3-2"><title>Download</title> <p>Click
    22 on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-b83a4952-b5e5-4ef5-a1c9-ee48705964a1.zip" scope="external">redirectprintf.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-b83a4952-b5e5-4ef5-a1c9-ee48705964a1.html" scope="peer">browse</xref> to view the example code. </p> </section>
    22 on the following link to download the example: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/zips/guid-b83a4952-b5e5-4ef5-a1c9-ee48705964a1.zip" scope="external">redirectprintf.zip</xref></p><p>Click: <xref href="guid-6013a680-57f9-415b-8851-c4fa63356636/guid-b83a4952-b5e5-4ef5-a1c9-ee48705964a1.html" scope="peer">browse</xref> to view the example code. </p> </section>
    23 <section id="GUID-7E7C4564-B10E-41F9-8A9D-D8A6C5E9C51C-GENID-1-10-1-11-1-1-5-1-3-1-11-1-15-1-3-3"><title>Design and
    23 <section id="GUID-7E7C4564-B10E-41F9-8A9D-D8A6C5E9C51C-GENID-1-10-1-13-1-1-5-1-3-1-11-1-15-1-3-3"><title>Design and
    24 Implementation</title> <p>The following sections provide information about
    24 Implementation</title> <p>The following sections provide information about
    25 the implementation of the example. </p> <p><b>Capabilities</b> </p>The program
    25 the implementation of the example. </p> <p><b>Capabilities</b> </p>The program
    26 capabilities are defined in <filepath>redirectprintf.mmp</filepath> : <codeph>CAPABILITY
    26 capabilities are defined in <filepath>redirectprintf.mmp</filepath> : <codeph>CAPABILITY
    27 NONE</codeph>. </section>
    27 NONE</codeph>. </section>
    28 <section id="GUID-67A72761-1D92-46D1-B1C9-7455978BDE4E-GENID-1-10-1-11-1-1-5-1-3-1-11-1-15-1-3-4"><title>Building and
    28 <section id="GUID-67A72761-1D92-46D1-B1C9-7455978BDE4E-GENID-1-10-1-13-1-1-5-1-3-1-11-1-15-1-3-4"><title>Building and
    29 Using</title> To build the example application, go to the redirectprintf\group
    29 Using</title> To build the example application, go to the redirectprintf\group
    30 directory and build the application.  The definition for the whole application
    30 directory and build the application.  The definition for the whole application
    31 can be found in the bld.inf file in the group subdirectory of the applications
    31 can be found in the bld.inf file in the group subdirectory of the applications
    32 main directory.<p>The application is simple console based application. It
    32 main directory.<p>The application is simple console based application. It
    33 has its own default icon and can be launched from the UI both
    33 has its own default icon and can be launched from the UI both