Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/include/bits/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/bits/stdio.h
/* Optimizing macros and inline functions for stdio functions.
   Copyright (C) 1998-2018 Free Software Foundation, Inc.
   This file is part of the GNU C Library.

   The GNU C Library is free software; you can redistribute it and/or
   modify it under the terms of the GNU Lesser General Public
   License as published by the Free Software Foundation; either
   version 2.1 of the License, or (at your option) any later version.

   The GNU C Library 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 Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, see
   <http://www.gnu.org/licenses/>.  */

#ifndef _BITS_STDIO_H
#define _BITS_STDIO_H 1

#ifndef _STDIO_H
# error "Never include <bits/stdio.h> directly; use <stdio.h> instead."
#endif

#ifndef __extern_inline
# define __STDIO_INLINE inline
#else
# define __STDIO_INLINE __extern_inline
#endif


#ifdef __USE_EXTERN_INLINES
/* For -D_FORTIFY_SOURCE{,=2,=3} bits/stdio2.h will define a different
   inline.  */
# if !(__USE_FORTIFY_LEVEL > 0 && defined __fortify_function)
/* Write formatted output to stdout from argument list ARG.  */
__STDIO_INLINE int
vprintf (const char *__restrict __fmt, __gnuc_va_list __arg)
{
  return vfprintf (stdout, __fmt, __arg);
}
# endif

/* Read a character from stdin.  */
__STDIO_INLINE int
getchar (void)
{
  return getc (stdin);
}


# ifdef __USE_MISC
/* Faster version when locking is not necessary.  */
__STDIO_INLINE int
fgetc_unlocked (FILE *__fp)
{
  return __getc_unlocked_body (__fp);
}
# endif /* misc */


# ifdef __USE_POSIX
/* This is defined in POSIX.1:1996.  */
__STDIO_INLINE int
getc_unlocked (FILE *__fp)
{
  return __getc_unlocked_body (__fp);
}

/* This is defined in POSIX.1:1996.  */
__STDIO_INLINE int
getchar_unlocked (void)
{
  return __getc_unlocked_body (stdin);
}
# endif	/* POSIX */


/* Write a character to stdout.  */
__STDIO_INLINE int
putchar (int __c)
{
  return putc (__c, stdout);
}


# ifdef __USE_MISC
/* Faster version when locking is not necessary.  */
__STDIO_INLINE int
fputc_unlocked (int __c, FILE *__stream)
{
  return __putc_unlocked_body (__c, __stream);
}
# endif /* misc */


# ifdef __USE_POSIX
/* This is defined in POSIX.1:1996.  */
__STDIO_INLINE int
putc_unlocked (int __c, FILE *__stream)
{
  return __putc_unlocked_body (__c, __stream);
}

/* This is defined in POSIX.1:1996.  */
__STDIO_INLINE int
putchar_unlocked (int __c)
{
  return __putc_unlocked_body (__c, stdout);
}
# endif	/* POSIX */


# ifdef	__USE_GNU
/* Like `getdelim', but reads up to a newline.  */
__STDIO_INLINE __ssize_t
getline (char **__lineptr, size_t *__n, FILE *__stream)
{
  return __getdelim (__lineptr, __n, '\n', __stream);
}
# endif /* GNU */


# ifdef __USE_MISC
/* Faster versions when locking is not required.  */
__STDIO_INLINE int
__NTH (feof_unlocked (FILE *__stream))
{
  return __feof_unlocked_body (__stream);
}

/* Faster versions when locking is not required.  */
__STDIO_INLINE int
__NTH (ferror_unlocked (FILE *__stream))
{
  return __ferror_unlocked_body (__stream);
}
# endif /* misc */

#endif /* Use extern inlines.  */


#if defined __USE_MISC && defined __GNUC__ && defined __OPTIMIZE__ \
    && !defined __cplusplus
/* Perform some simple optimizations.  */
# define fread_unlocked(ptr, size, n, stream) \
  (__extension__ ((__builtin_constant_p (size) && __builtin_constant_p (n)    \
		   && (size_t) (size) * (size_t) (n) <= 8		      \
		   && (size_t) (size) != 0)				      \
		  ? ({ char *__ptr = (char *) (ptr);			      \
		       FILE *__stream = (stream);			      \
		       size_t __cnt;					      \
		       for (__cnt = (size_t) (size) * (size_t) (n);	      \
			    __cnt > 0; --__cnt)				      \
			 {						      \
			   int __c = getc_unlocked (__stream);		      \
			   if (__c == EOF)				      \
			     break;					      \
			   *__ptr++ = __c;				      \
			 }						      \
		       ((size_t) (size) * (size_t) (n) - __cnt)		      \
			/ (size_t) (size); })				      \
		  : (((__builtin_constant_p (size) && (size_t) (size) == 0)   \
		      || (__builtin_constant_p (n) && (size_t) (n) == 0))     \
			/* Evaluate all parameters once.  */		      \
		     ? ((void) (ptr), (void) (stream), (void) (size),	      \
			(void) (n), (size_t) 0)				      \
		     : fread_unlocked (ptr, size, n, stream))))

# define fwrite_unlocked(ptr, size, n, stream) \
  (__extension__ ((__builtin_constant_p (size) && __builtin_constant_p (n)    \
		   && (size_t) (size) * (size_t) (n) <= 8		      \
		   && (size_t) (size) != 0)				      \
		  ? ({ const char *__ptr = (const char *) (ptr);	      \
		       FILE *__stream = (stream);			      \
		       size_t __cnt;					      \
		       for (__cnt = (size_t) (size) * (size_t) (n);	      \
			    __cnt > 0; --__cnt)				      \
			 if (putc_unlocked (*__ptr++, __stream) == EOF)	      \
			   break;					      \
		       ((size_t) (size) * (size_t) (n) - __cnt)		      \
			/ (size_t) (size); })				      \
		  : (((__builtin_constant_p (size) && (size_t) (size) == 0)   \
		      || (__builtin_constant_p (n) && (size_t) (n) == 0))     \
			/* Evaluate all parameters once.  */		      \
		     ? ((void) (ptr), (void) (stream), (void) (size),	      \
			(void) (n), (size_t) 0)				      \
		     : fwrite_unlocked (ptr, size, n, stream))))
#endif

/* Define helper macro.  */
#undef __STDIO_INLINE

#endif /* bits/stdio.h.  */
Name
Size
Permissions
Options
types
--
drwxr-xr-x
a.out.h
0.262 KB
-rw-r--r--
byteswap.h
2.392 KB
-rw-r--r--
cmathcalls.h
4.041 KB
-rw-r--r--
confname.h
23.152 KB
-rw-r--r--
cpu-set.h
4.409 KB
-rw-r--r--
dirent.h
1.729 KB
-rw-r--r--
dlfcn.h
2.461 KB
-rw-r--r--
elfclass.h
0.416 KB
-rw-r--r--
endian.h
0.172 KB
-rw-r--r--
environments.h
3.701 KB
-rw-r--r--
epoll.h
1.045 KB
-rw-r--r--
errno.h
1.392 KB
-rw-r--r--
error.h
2.62 KB
-rw-r--r--
eventfd.h
1.102 KB
-rw-r--r--
fcntl-linux.h
13.391 KB
-rw-r--r--
fcntl.h
2.192 KB
-rw-r--r--
fcntl2.h
5.443 KB
-rw-r--r--
fenv.h
4.497 KB
-rw-r--r--
fenvinline.h
0.186 KB
-rw-r--r--
floatn-common.h
9.535 KB
-rw-r--r--
floatn.h
4.27 KB
-rw-r--r--
flt-eval-method.h
1.186 KB
-rw-r--r--
fp-fast.h
1.187 KB
-rw-r--r--
fp-logb.h
0.987 KB
-rw-r--r--
getopt_core.h
3.58 KB
-rw-r--r--
getopt_ext.h
2.966 KB
-rw-r--r--
getopt_posix.h
1.767 KB
-rw-r--r--
hwcap.h
0.948 KB
-rw-r--r--
in.h
9.244 KB
-rw-r--r--
indirect-return.h
1.548 KB
-rw-r--r--
initspin.h
0.024 KB
-rw-r--r--
inotify.h
1.054 KB
-rw-r--r--
ioctl-types.h
2.397 KB
-rw-r--r--
ioctls.h
4.372 KB
-rw-r--r--
ipc.h
2.021 KB
-rw-r--r--
ipctypes.h
1.147 KB
-rw-r--r--
iscanonical.h
2.42 KB
-rw-r--r--
libc-header-start.h
2.546 KB
-rw-r--r--
libm-simd-decl-stubs.h
2.933 KB
-rw-r--r--
link.h
4.185 KB
-rw-r--r--
link_lavcurrent.h
1.073 KB
-rw-r--r--
local_lim.h
3.109 KB
-rw-r--r--
locale.h
1.335 KB
-rw-r--r--
long-double.h
0.901 KB
-rw-r--r--
math-finite.h
5.248 KB
-rw-r--r--
math-vector.h
2.253 KB
-rw-r--r--
mathcalls-helper-functions.h
1.723 KB
-rw-r--r--
mathcalls-narrow.h
1.275 KB
-rw-r--r--
mathcalls.h
12.793 KB
-rw-r--r--
mathdef.h
0.869 KB
-rw-r--r--
mathinline.h
12.71 KB
-rw-r--r--
mman-linux.h
4.78 KB
-rw-r--r--
mman-shared.h
2.672 KB
-rw-r--r--
mman.h
2.015 KB
-rw-r--r--
monetary-ldbl.h
1.021 KB
-rw-r--r--
mqueue.h
1.216 KB
-rw-r--r--
mqueue2.h
2.1 KB
-rw-r--r--
msq.h
2.575 KB
-rw-r--r--
netdb.h
1.233 KB
-rw-r--r--
param.h
1.398 KB
-rw-r--r--
poll.h
2.026 KB
-rw-r--r--
poll2.h
2.427 KB
-rw-r--r--
posix1_lim.h
5.066 KB
-rw-r--r--
posix2_lim.h
2.799 KB
-rw-r--r--
posix_opt.h
5.631 KB
-rw-r--r--
printf-ldbl.h
0.968 KB
-rw-r--r--
pthreadtypes-arch.h
3.213 KB
-rw-r--r--
pthreadtypes.h
2.999 KB
-rw-r--r--
ptrace-shared.h
2.832 KB
-rw-r--r--
resource.h
6.15 KB
-rw-r--r--
sched.h
3.659 KB
-rw-r--r--
select.h
2.056 KB
-rw-r--r--
select2.h
1.403 KB
-rw-r--r--
sem.h
2.558 KB
-rw-r--r--
semaphore.h
1.208 KB
-rw-r--r--
setjmp.h
1.256 KB
-rw-r--r--
setjmp2.h
1.664 KB
-rw-r--r--
shm.h
3.507 KB
-rw-r--r--
sigaction.h
2.865 KB
-rw-r--r--
sigcontext.h
4.164 KB
-rw-r--r--
sigevent-consts.h
1.436 KB
-rw-r--r--
siginfo-arch.h
0.712 KB
-rw-r--r--
siginfo-consts-arch.h
0.199 KB
-rw-r--r--
siginfo-consts.h
5.833 KB
-rw-r--r--
signalfd.h
1.041 KB
-rw-r--r--
signum-generic.h
4.238 KB
-rw-r--r--
signum.h
1.595 KB
-rw-r--r--
sigstack.h
1.14 KB
-rw-r--r--
sigthread.h
1.651 KB
-rw-r--r--
sockaddr.h
1.478 KB
-rw-r--r--
socket.h
15.197 KB
-rw-r--r--
socket2.h
2.965 KB
-rw-r--r--
socket_type.h
2.163 KB
-rw-r--r--
ss_flags.h
1.159 KB
-rw-r--r--
stab.def
8.827 KB
-rw-r--r--
stat.h
7.44 KB
-rw-r--r--
statfs.h
1.871 KB
-rw-r--r--
statvfs.h
3.342 KB
-rw-r--r--
statx-generic.h
2.001 KB
-rw-r--r--
statx.h
1.366 KB
-rw-r--r--
stdint-intn.h
1.012 KB
-rw-r--r--
stdint-uintn.h
1.023 KB
-rw-r--r--
stdio-ldbl.h
2.942 KB
-rw-r--r--
stdio.h
5.455 KB
-rw-r--r--
stdio2.h
12.252 KB
-rw-r--r--
stdio_lim.h
1.184 KB
-rw-r--r--
stdlib-bsearch.h
1.345 KB
-rw-r--r--
stdlib-float.h
1.088 KB
-rw-r--r--
stdlib-ldbl.h
1.34 KB
-rw-r--r--
stdlib.h
4.95 KB
-rw-r--r--
string_fortified.h
4.573 KB
-rw-r--r--
strings_fortified.h
1.21 KB
-rw-r--r--
sys_errlist.h
1.187 KB
-rw-r--r--
syscall.h
44.593 KB
-rw-r--r--
sysctl.h
0.877 KB
-rw-r--r--
syslog-ldbl.h
1.177 KB
-rw-r--r--
syslog-path.h
1.035 KB
-rw-r--r--
syslog.h
1.645 KB
-rw-r--r--
sysmacros.h
2.883 KB
-rw-r--r--
termios.h
5.237 KB
-rw-r--r--
thread-shared-types.h
6.577 KB
-rw-r--r--
time.h
2.928 KB
-rw-r--r--
timerfd.h
1.076 KB
-rw-r--r--
timex.h
4.487 KB
-rw-r--r--
types.h
8.14 KB
-rw-r--r--
typesizes.h
3.317 KB
-rw-r--r--
uintn-identity.h
1.505 KB
-rw-r--r--
uio-ext.h
1.877 KB
-rw-r--r--
uio_lim.h
1.352 KB
-rw-r--r--
unistd.h
10.559 KB
-rw-r--r--
utmp.h
3.971 KB
-rw-r--r--
utmpx.h
3.493 KB
-rw-r--r--
utsname.h
1.184 KB
-rw-r--r--
waitflags.h
1.656 KB
-rw-r--r--
waitstatus.h
2.232 KB
-rw-r--r--
wchar-ldbl.h
2.366 KB
-rw-r--r--
wchar.h
1.86 KB
-rw-r--r--
wchar2.h
17.794 KB
-rw-r--r--
wctype-wchar.h
6.153 KB
-rw-r--r--
wordsize.h
0.432 KB
-rw-r--r--
xopen_lim.h
3.767 KB
-rw-r--r--