summaryrefslogtreecommitdiff
path: root/libc/misc/internals/__errno_location.c
blob: 3409500378d95ef4812e72251e571f09e86ae1d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
 *
 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
 */

#include "internal_errno.h"

int *__errno_location(void)
{
    return &errno;
}
libc_hidden_weak(__errno_location)