Commit | Line | Data |
---|---|---|
61a7a05d KM |
1 | .\" Copyright (c) 1983 Regents of the University of California. |
2 | .\" All rights reserved. The Berkeley software License Agreement | |
3 | .\" specifies the terms and conditions for redistribution. | |
4 | .\" | |
f26cee21 | 5 | .\" @(#)putc.3 6.1 (Berkeley) %G% |
61a7a05d | 6 | .\" |
f26cee21 | 7 | .TH PUTC 3F "" |
61a7a05d KM |
8 | .UC 5 |
9 | .SH NAME | |
10 | putc, fputc \- write a character to a fortran logical unit | |
11 | .SH SYNOPSIS | |
12 | .B integer function putc (char) | |
13 | .br | |
14 | .B character char | |
15 | .sp 1 | |
16 | .B integer function fputc (lunit, char) | |
17 | .br | |
18 | .B character char | |
19 | .SH DESCRIPTION | |
20 | These funtions write a character to the file associated with a fortran logical | |
21 | unit bypassing normal fortran I/O. | |
22 | .I Putc | |
23 | writes to logical unit 6, normally connected to the control terminal output. | |
24 | .PP | |
25 | The value of each function will be zero unless some error occurred; | |
26 | a system error code otherwise. See perror(3F). | |
27 | .SH FILES | |
28 | .ie \nM /usr/ucb/lib/libU77.a | |
29 | .el /usr/lib/libU77.a | |
30 | .SH "SEE ALSO" | |
31 | putc(3S), intro(2), perror(3F) |