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:
34
help/fseek
34
help/fseek
@@ -5,11 +5,11 @@ SYNOPSIS
|
||||
fseek(fd, offset [, whence])
|
||||
|
||||
TYPES
|
||||
fd open file stream
|
||||
pos integer
|
||||
whence 0, 1 or 2, defaulting to 0
|
||||
fd open file stream
|
||||
pos integer
|
||||
whence 0, 1 or 2, defaulting to 0
|
||||
|
||||
return null or error value
|
||||
return null or error value
|
||||
|
||||
DESCRIPTION
|
||||
This function sets the file position indicator for the stream by
|
||||
@@ -34,25 +34,25 @@ EXAMPLE
|
||||
; fputs(fd, "0123456789abcdef")
|
||||
; freopen(fd, "r")
|
||||
; fsize(fd)
|
||||
16
|
||||
16
|
||||
; fseek(fd, 5)
|
||||
; fgets(fd)
|
||||
"56789abcdef"
|
||||
"56789abcdef"
|
||||
; fseek(fd, 0)
|
||||
; fscanf(fd, "%*5c")
|
||||
0
|
||||
0
|
||||
; fseek(fd, 5, 1)
|
||||
; fgets(fd)
|
||||
"abcdef"
|
||||
"abcdef"
|
||||
; ftell(fd)
|
||||
16
|
||||
16
|
||||
; fseek(fd, -5, 2)
|
||||
; fgets(fd)
|
||||
"bcdef"
|
||||
"bcdef"
|
||||
; fseek(fd, -2)
|
||||
System error 22
|
||||
System error 22
|
||||
; ftell(fd)
|
||||
16
|
||||
16
|
||||
|
||||
The results for the last four lines may be different for different systems.
|
||||
|
||||
@@ -74,7 +74,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
|
||||
@@ -82,8 +82,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:20
|
||||
## File existed as early as: 1995
|
||||
## Under source code control: 1995/03/04 11:33:20
|
||||
## 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