Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: native_client_sdk/src/doc/devguide/coding/nacl_io.rst

Issue 306973002: [NaCl SDK] rename nacl_io demo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 .. _nacl_io: 1 .. _nacl_io:
2 2
3 ################### 3 ###################
4 The nacl_io Library 4 The nacl_io Library
5 ################### 5 ###################
6 6
7 .. contents:: 7 .. contents::
8 :local: 8 :local:
9 :backlinks: none 9 :backlinks: none
10 :depth: 2 10 :depth: 2
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 The demo application launches a Native Client module that mounts three file 74 The demo application launches a Native Client module that mounts three file
75 systems and displays a set of controls that let you work with them: 75 systems and displays a set of controls that let you work with them:
76 76
77 .. image:: /images/nacl_io1.png 77 .. image:: /images/nacl_io1.png
78 78
79 Follow these steps to build and run the demo: 79 Follow these steps to build and run the demo:
80 80
81 * Open a terminal in the demo directory:: 81 * Open a terminal in the demo directory::
82 82
83 $ cd $NACL_SDK_ROOT/examples/demo/nacl_io 83 $ cd $NACL_SDK_ROOT/examples/demo/nacl_io_demo
84 84
85 * run the demo:: 85 * run the demo::
86 86
87 $ make run 87 $ make run
88 88
89 Once the demo is running, try these operations: 89 Once the demo is running, try these operations:
90 90
91 #. select the fopen command (when you select a command the fields in the line 91 #. select the fopen command (when you select a command the fields in the line
92 below will change according to the command) 92 below will change according to the command)
93 #. type in the filename ``/persistent/test`` 93 #. type in the filename ``/persistent/test``
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 209
210 *output = PrintfToNewString("fwrite\1%s\1%d", file_index_string, 210 *output = PrintfToNewString("fwrite\1%s\1%d", file_index_string,
211 bytes_written); 211 bytes_written);
212 return 0; 212 return 0;
213 } 213 }
214 214
215 Reference information 215 Reference information
216 ===================== 216 =====================
217 217
218 The example discussed here is included in the SDK in the directory 218 The example discussed here is included in the SDK in the directory
219 ``examples/demo/nacl_io``. 219 ``examples/demo/nacl_io_demo``.
220 220
221 The nacl_io library is included in the SDK toolchain and is not a part of the 221 The nacl_io library is included in the SDK toolchain and is not a part of the
222 Pepper API. For reference information related to the nacl_io interface see 222 Pepper API. For reference information related to the nacl_io interface see
223 its header file in the SDK directory, located at 223 its header file in the SDK directory, located at
224 ``include/nacl_io/nacl_io.h``. 224 ``include/nacl_io/nacl_io.h``.
225 225
226 For more about the HTML5 file system read the `specification 226 For more about the HTML5 file system read the `specification
227 <http://dev.w3.org/2009/dap/file-system/pub/FileSystem/>`_. 227 <http://dev.w3.org/2009/dap/file-system/pub/FileSystem/>`_.
OLDNEW
« no previous file with comments | « native_client_sdk/src/build_tools/sdk_files.list ('k') | native_client_sdk/src/doc/devguide/devcycle/building.rst » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698