mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
convert ASCII TABs to ASCII SPACEs
Converted all ASCII tabs to ASCII spaces using a 8 character tab stop, for all files, except for all Makefiles (plus rpm.mk). The `git diff -w` reports no changes.
This commit is contained in:
@@ -5,16 +5,16 @@ SYNOPSIS
|
||||
fgetline(fd)
|
||||
|
||||
TYPES
|
||||
fd file
|
||||
fd file
|
||||
|
||||
return str or nil
|
||||
return str or nil
|
||||
|
||||
DESCRIPTION
|
||||
This function reads the next line, including any trailing newline from
|
||||
the open file associated with fd. Unlike fgets, the trailing
|
||||
newline is removed from the return string.
|
||||
|
||||
Empty lines return the null string. When the end of file is reached,
|
||||
Empty lines return the null string. When the end of file is reached,
|
||||
fgetline returns the null value. (Note the distinction between a null
|
||||
string and a null value.)
|
||||
|
||||
@@ -30,15 +30,15 @@ EXAMPLE
|
||||
; fputs(fd, "123\n")
|
||||
; fd2 = fopen("/tmp/newfile", "r")
|
||||
; fgets(fd2)
|
||||
"chongo was here
|
||||
"chongo was here
|
||||
"
|
||||
|
||||
; fclose(fd2)
|
||||
; fd2 = fopen("/tmp/newfile", "r")
|
||||
; fgetline(fd2)
|
||||
"chongo was here"
|
||||
"chongo was here"
|
||||
; eval(fgetline(fd2))
|
||||
123
|
||||
123
|
||||
|
||||
LIMITS
|
||||
fd must be associated with an open file
|
||||
@@ -58,7 +58,7 @@ SEE ALSO
|
||||
##
|
||||
## Calc is distributed in the hope that it will be useful, but WITHOUT
|
||||
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
||||
## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
||||
## Public License for more details.
|
||||
##
|
||||
## A copy of version 2.1 of the GNU Lesser General Public License is
|
||||
@@ -66,8 +66,8 @@ SEE ALSO
|
||||
## received a copy with calc; if not, write to Free Software Foundation, Inc.
|
||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
##
|
||||
## Under source code control: 1995/03/04 11:33:19
|
||||
## File existed as early as: 1995
|
||||
## Under source code control: 1995/03/04 11:33:19
|
||||
## File existed as early as: 1995
|
||||
##
|
||||
## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
|
||||
## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
||||
## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
|
||||
## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
||||
|
Reference in New Issue
Block a user