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

Side by Side Diff: native_client_sdk/src/examples/demo/nacl_io_demo/handlers.c

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 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 #include "handlers.h" 5 #include "handlers.h"
6 6
7 #include <arpa/inet.h> 7 #include <arpa/inet.h>
8 #include <assert.h> 8 #include <assert.h>
9 #include <errno.h> 9 #include <errno.h>
10 #include <limits.h> 10 #include <limits.h>
(...skipping 1094 matching lines...) Expand 10 before | Expand all | Expand 10 after
1105 int result = close(sock); 1105 int result = close(sock);
1106 if (result != 0) { 1106 if (result != 0) {
1107 *out_error = PrintfToNewString("close returned error: %d", errno); 1107 *out_error = PrintfToNewString("close returned error: %d", errno);
1108 return 1; 1108 return 1;
1109 } 1109 }
1110 1110
1111 CREATE_RESPONSE(close); 1111 CREATE_RESPONSE(close);
1112 RESPONSE_INT(sock); 1112 RESPONSE_INT(sock);
1113 return 0; 1113 return 0;
1114 } 1114 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698