mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Fix typos in comments.
This commit is contained in:
parent
158648c0bd
commit
4c1423edfb
@ -1,5 +1,14 @@
|
||||
2011-04-01 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
* iconv/iconv.h: Fix typo in comment.
|
||||
* io/fcntl.h: Likewise.
|
||||
* libio/stdio.h: Likewise.
|
||||
* posix/spawn.h: Likewise.
|
||||
* posix/unistd.h: Likewise.
|
||||
* stdlib/stdlib.h: Likewise.
|
||||
* time/time.h: Likewise.
|
||||
* wcsmbs/wchar.h: Likewise.
|
||||
|
||||
* sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
|
||||
open_by_handle): Add.
|
||||
* sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1997, 1998, 1999, 2000, 2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1997-2000, 2003, 2011 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
|
||||
@ -33,7 +33,7 @@ typedef void *iconv_t;
|
||||
/* Allocate descriptor for code conversion from codeset FROMCODE to
|
||||
codeset TOCODE.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern iconv_t iconv_open (__const char *__tocode, __const char *__fromcode);
|
||||
|
||||
@ -47,7 +47,7 @@ extern size_t iconv (iconv_t __cd, char **__restrict __inbuf,
|
||||
|
||||
/* Free resources allocated for descriptor CD for code conversion.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern int iconv_close (iconv_t __cd);
|
||||
|
||||
|
@ -242,7 +242,7 @@ extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len,
|
||||
|
||||
/* Reserve storage for the data of the file associated with FD.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
# ifndef __USE_FILE_OFFSET64
|
||||
extern int posix_fallocate (int __fd, __off_t __offset, __off_t __len);
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Define ISO C stdio on top of C++ iostreams.
|
||||
Copyright (C) 1991, 1994-2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
Copyright (C) 1991, 1994-2010, 2011 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
|
||||
@ -186,7 +186,7 @@ extern int renameat (int __oldfd, __const char *__old, int __newfd,
|
||||
__BEGIN_NAMESPACE_STD
|
||||
/* Create a temporary file and open it read/write.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
#ifndef __USE_FILE_OFFSET64
|
||||
extern FILE *tmpfile (void) __wur;
|
||||
@ -677,33 +677,33 @@ extern _IO_ssize_t getline (char **__restrict __lineptr,
|
||||
__BEGIN_NAMESPACE_STD
|
||||
/* Write a string to STREAM.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
|
||||
|
||||
/* Write a string, followed by a newline, to stdout.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern int puts (__const char *__s);
|
||||
|
||||
|
||||
/* Push a character back onto the input buffer of STREAM.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern int ungetc (int __c, FILE *__stream);
|
||||
|
||||
|
||||
/* Read chunks of generic data from STREAM.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern size_t fread (void *__restrict __ptr, size_t __size,
|
||||
size_t __n, FILE *__restrict __stream) __wur;
|
||||
/* Write chunks of generic data to STREAM.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
|
||||
size_t __n, FILE *__restrict __s) __wur;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/* Definitions for POSIX spawn interface.
|
||||
Copyright (C) 2000, 2003, 2004, 2009 Free Software Foundation, Inc.
|
||||
Copyright (C) 2000, 2003, 2004, 2009, 2011 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
|
||||
@ -67,7 +67,7 @@ __BEGIN_DECLS
|
||||
/* Spawn a new process executing PATH with the attributes describes in *ATTRP.
|
||||
Before running the process perform the actions described in FILE-ACTIONS.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern int posix_spawn (pid_t *__restrict __pid,
|
||||
__const char *__restrict __path,
|
||||
@ -79,7 +79,7 @@ extern int posix_spawn (pid_t *__restrict __pid,
|
||||
|
||||
/* Similar to `posix_spawn' but search for FILE in the PATH.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern int posix_spawnp (pid_t *__pid, __const char *__file,
|
||||
__const posix_spawn_file_actions_t *__file_actions,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991-2009, 2010 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2009, 2010, 2011 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
|
||||
@ -863,7 +863,7 @@ extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __THROW;
|
||||
|
||||
/* Return the login name of the user.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern char *getlogin (void);
|
||||
#if defined __USE_REENTRANT || defined __USE_POSIX199506
|
||||
@ -871,7 +871,7 @@ extern char *getlogin (void);
|
||||
If it cannot be determined or some other error occurred, return the error
|
||||
code. Otherwise return 0.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern int getlogin_r (char *__name, size_t __name_len) __nonnull ((1));
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991-2007, 2009, 2010 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2007, 2009, 2010, 2011 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
|
||||
@ -668,7 +668,7 @@ extern char *mkdtemp (char *__template) __THROW __nonnull ((1)) __wur;
|
||||
mkstemp. But allow the caller to pass additional flags which are
|
||||
used in the open call to create the file..
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
# ifndef __USE_FILE_OFFSET64
|
||||
extern int mkostemp (char *__template, int __flags) __nonnull ((1)) __wur;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1991-2003,2006,2009 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1991-2003,2006,2009,2011 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
|
||||
@ -385,7 +385,7 @@ extern int timer_getoverrun (timer_t __timerid) __THROW;
|
||||
6 memory allication failed (not enough memory available),
|
||||
7 there is no line in the template that matches the input,
|
||||
8 invalid input specification Example: February 31 or a time is
|
||||
specified that can not be represented in a time_t (representing
|
||||
specified that can not be represented in a time_t (representing
|
||||
the time in seconds since 00:00:00 UTC, January 1, 1970) */
|
||||
extern int getdate_err;
|
||||
|
||||
@ -394,7 +394,7 @@ extern int getdate_err;
|
||||
the environment variable DATEMSK are used. In case of an error
|
||||
`getdate_err' is set.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern struct tm *getdate (__const char *__string);
|
||||
# endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1995-2008, 2009, 2010 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1995-2008, 2009, 2010, 2011 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
|
||||
@ -758,7 +758,7 @@ extern wint_t putwc (wchar_t __wc, __FILE *__stream);
|
||||
|
||||
/* Write a character to stdout.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern wint_t putwchar (wchar_t __wc);
|
||||
|
||||
@ -766,14 +766,14 @@ extern wint_t putwchar (wchar_t __wc);
|
||||
/* Get a newline-terminated wide character string of finite length
|
||||
from STREAM.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern wchar_t *fgetws (wchar_t *__restrict __ws, int __n,
|
||||
__FILE *__restrict __stream);
|
||||
|
||||
/* Write a string to STREAM.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern int fputws (__const wchar_t *__restrict __ws,
|
||||
__FILE *__restrict __stream);
|
||||
@ -781,7 +781,7 @@ extern int fputws (__const wchar_t *__restrict __ws,
|
||||
|
||||
/* Push a character back onto the input buffer of STREAM.
|
||||
|
||||
This function is a possible cancellation points and therefore not
|
||||
This function is a possible cancellation point and therefore not
|
||||
marked with __THROW. */
|
||||
extern wint_t ungetwc (wint_t __wc, __FILE *__stream);
|
||||
__END_NAMESPACE_STD
|
||||
|
Loading…
Reference in New Issue
Block a user