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

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

Issue 618823003: Add debugging information for nacl_io library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove file make keeps touching. Created 6 years, 2 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
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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 return 2; 205 return 2;
206 } 206 }
207 207
208 bytes_written = fwrite(data, 1, data_len, file); 208 bytes_written = fwrite(data, 1, data_len, file);
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 Additional 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_demo``. 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 The logging system for nacl_io writes directly to the stderr stream of the NaCl
227 process. For more information, see the :ref:`nacl_io section
228 <nacl-io-debugging>` of the debugging page.
229
226 For more about the HTML5 file system read the `specification 230 For more about the HTML5 file system read the `specification
227 <http://dev.w3.org/2009/dap/file-system/pub/FileSystem/>`_. 231 <http://dev.w3.org/2009/dap/file-system/pub/FileSystem/>`_.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698