diff options
author | midipix <writeonce@midipix.org> | 2025-06-21 18:17:52 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2025-06-21 18:17:52 +0000 |
commit | 130e2180398d23fec3228f9507d84791e738b826 (patch) | |
tree | 247dd20e4950cdb0e0442f86db4cacbd3e7ce484 /src | |
parent | 85b7ff078d0a71e65174c18a30ac62f923ccf8d7 (diff) | |
download | sltdl-130e2180398d23fec3228f9507d84791e738b826.tar.bz2 sltdl-130e2180398d23fec3228f9507d84791e738b826.tar.xz |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lt_core.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/lt_core.c b/src/core/lt_core.c index e3cadd4..031701a 100644 --- a/src/core/lt_core.c +++ b/src/core/lt_core.c @@ -130,3 +130,10 @@ const char * lt_dlerror(void) return errdesc; } + +int lt_dlseterror(int errcode) +{ + lt_slock(); + lt_sunlock(0,errcode); + return 0; +} |