fgetwc.c (8f030a44b8c665d111ed900df1a8203dde0af1e7) | fgetwc.c (6180233fd804806e7301790d2330da50ca57e71f) |
---|---|
1/*- 2 * Copyright (c) 2002 Tim J. Robbins. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 90 unchanged lines hidden (view full) --- 99 return (L'\0'); 100 else if (nconv == (size_t)-1) 101 break; 102 } 103 104 while (n-- != 0) 105 __ungetc((unsigned char)buf[n], fp); 106 errno = EILSEQ; | 1/*- 2 * Copyright (c) 2002 Tim J. Robbins. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 90 unchanged lines hidden (view full) --- 99 return (L'\0'); 100 else if (nconv == (size_t)-1) 101 break; 102 } 103 104 while (n-- != 0) 105 __ungetc((unsigned char)buf[n], fp); 106 errno = EILSEQ; |
107 fp->_flags |= __SERR; |
|
107 return (WEOF); 108} | 108 return (WEOF); 109} |