home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!rutgers!igor.rutgers.edu!ratt.rutgers.edu!map
- From: map@ratt.rutgers.edu (O. C.)
- Newsgroups: comp.lang.c
- Subject: write an int?
- Keywords: why not
- Message-ID: <Nov.19.19.08.57.1992.14534@ratt.rutgers.edu>
- Date: 20 Nov 92 00:09:03 GMT
- Organization: Rutgers Univ., New Brunswick, N.J.
- Lines: 9
-
-
- I want to write an integer to a text file using the Unix system call
- write,
-
- write(file descriptor,buffer,size);
-
- but I can only seem to get it to work for strings and characters.
-
- What am I doing wrong?
-