2 * Copyright (c) 2014, Facebook, Inc.
5 * This source code is licensed under the BSD-style license found in the
6 * LICENSE file in the "hack" directory of this source tree. An additional grant
7 * of patent rights can be found in the PATENTS file in the same directory.
11 let read_stdin_to_string () =
12 let buf = Buffer.create
4096 in
15 Buffer.add_string
buf (input_line stdin
);
16 Buffer.add_char
buf '
\n'