Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
glibc/dlfcn/moddummy2.c
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
13 lines (12 sloc)
314 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Provide a dummy DSO for tst-rec-dlopen to use. */ | |
#include <stdio.h> | |
#include <stdlib.h> | |
int | |
dummy2 (void) | |
{ | |
printf ("Called dummy2()\n"); | |
/* If the outer dlopen is not dummy1 (becuase of some error) | |
then tst-rec-dlopen will see a value of -1 as the returned | |
result and fail. */ | |
return -1; | |
} |