summaryrefslogtreecommitdiff
path: root/ext/pty/pty.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-07 21:01:43 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-02-07 21:24:44 +0900
commit478716f49a19cdd86f629c6a0673c1ff53630c96 (patch)
treee096772b353f9ce5c20b057d0421ec39ea40c378 /ext/pty/pty.c
parent947d93b715436b13eefa39f87737bdad3c1f870a (diff)
[DOC] refined
* Adjusted indentation in license section, and used "(c)" * Commented out invalid syntax to enable highlighting * Removed unnecessary parentheses
Diffstat (limited to 'ext/pty/pty.c')
-rw-r--r--ext/pty/pty.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/ext/pty/pty.c b/ext/pty/pty.c
index d927adc560..0e46c72dc0 100644
--- a/ext/pty/pty.c
+++ b/ext/pty/pty.c
@@ -464,7 +464,7 @@ pty_close_pty(VALUE assoc)
/*
* call-seq:
* PTY.open => [master_io, slave_file]
- * PTY.open {|(master_io, slave_file)| ... } => block value
+ * PTY.open {|master_io, slave_file| ... } => block value
*
* Allocates a pty (pseudo-terminal).
*
@@ -497,7 +497,7 @@ pty_close_pty(VALUE assoc)
* require 'io/console'
* PTY.open {|m, s|
* s.raw!
- * ...
+ * # ...
* }
*
*/
@@ -737,16 +737,16 @@ static VALUE cPTY;
*
* == License
*
- * C) Copyright 1998 by Akinori Ito.
+ * (c) Copyright 1998 by Akinori Ito.
*
- * This software may be redistributed freely for this purpose, in full
- * or in part, provided that this entire copyright notice is included
- * on any copies of this software and applications and derivations thereof.
+ * This software may be redistributed freely for this purpose, in full
+ * or in part, provided that this entire copyright notice is included
+ * on any copies of this software and applications and derivations thereof.
*
- * This software is provided on an "as is" basis, without warranty of any
- * kind, either expressed or implied, as to any matter including, but not
- * limited to warranty of fitness of purpose, or merchantability, or
- * results obtained from use of this software.
+ * This software is provided on an "as is" basis, without warranty of any
+ * kind, either expressed or implied, as to any matter including, but not
+ * limited to warranty of fitness of purpose, or merchantability, or
+ * results obtained from use of this software.
*/
void