Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/arm/ftruncate.c')
-rw-r--r--libgloss/arm/ftruncate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgloss/arm/ftruncate.c b/libgloss/arm/ftruncate.c
index da46fc5d7..41a64d2ae 100644
--- a/libgloss/arm/ftruncate.c
+++ b/libgloss/arm/ftruncate.c
@@ -23,10 +23,12 @@
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
+#include <errno.h>
#include <sys/types.h>
int
ftruncate (int file, off_t length)
{
+ errno = ENOSYS;
return -1;
}