OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [uClibc/] [test/] [dlopen/] [libtest.c] - Rev 1765

Compare with Previous | Blame | View Log

#include <stdio.h>
#include <pthread.h>
#include <stdint.h>
 
extern int __pthread_once(void);
 
void dltest(uint32_t **value1, uint32_t **value2)
{
	*value1 = (uint32_t *) __pthread_once;
	*value2 = (uint32_t *) pthread_self;
}
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.