{"id":23053001,"url":"https://github.com/diegocr/libnix","last_synced_at":"2025-08-15T03:32:22.684Z","repository":{"id":5582071,"uuid":"6788143","full_name":"diegocr/libnix","owner":"diegocr","description":"Standard C link library for amiga-specific gcc development.","archived":false,"fork":false,"pushed_at":"2012-11-21T01:22:26.000Z","size":856,"stargazers_count":8,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-04-03T15:31:45.901Z","etag":null,"topics":["c","library","link"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diegocr.png","metadata":{"files":{"readme":"README","changelog":"changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-21T01:20:45.000Z","updated_at":"2022-05-24T11:45:41.000Z","dependencies_parsed_at":"2022-08-26T19:42:22.551Z","dependency_job_id":null,"html_url":"https://github.com/diegocr/libnix","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegocr%2Flibnix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegocr%2Flibnix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegocr%2Flibnix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegocr%2Flibnix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegocr","download_url":"https://codeload.github.com/diegocr/libnix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890120,"owners_count":18140043,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","library","link"],"created_at":"2024-12-16T00:16:21.500Z","updated_at":"2024-12-16T00:16:22.089Z","avatar_url":"https://github.com/diegocr.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nLIBNIX - Standard C link library for amiga-specific gcc development\n\n\tCopyright (C) 1996 Matthias Fleischer\n\tCopyright (C) 2000 Gunther Nikl\n\tCopyright (C) 2004 Jeff Shepherd\n\tCopyright (C) 2009 Diego Casorran\n\nThis is libnix 3.0, based on the version 2.1 released by Jeff Shepherd\nat SourceForge: http://sourceforge.net/projects/libnix/\n\nPlease note this repository contains \"sources/nix\" source code needed to\nbuild libnix.a Thus, this is intended as an update to the old library,\nno additional libs source code is included since they were not modified.\n\n\nThe list of changes between 2.1 and 3.0 are as follow:\n\n* extra/gettimeofday.c: changed to use GetSysTime() with UNIT_MICROHZ\n\n* misc/bcopy.c: Optimized small operations\n\n* misc/bzero.c: Optimized small operations\n\n* stdio/*: stdin, stdout, and stderr are now protected from being closed..\n\n* stdio/fputs.c: bugfix for segfaults caused while using stderr\n\n* stdio/fwrite.c: bugfix for segfaults caused while using stderr\n\n* stdio/open.c: bugfix due no Seek()'ing to EOF when O_APPEND is used (!)\n\n* stdio/open.c: MODE_READWRITE will only be used when O_CREAT\n\n* stdio/open.c: stderr is now opened by using CONSOLE: instead of '*'\n\n* stdio/open.c: _allocfd() will reallocate stdfiledes on increments by 10\n\n* stdio/open.c: Improved write() function\n\n* stdio/perror.c: bugfix for segfaults caused by using stderr\n\n* stdio/vfprintf.c: replaced fputc by putc to make it somewhat faster\n\n* stdio/vsnprintf.c: fixed a \"buffer full\" state bug..\n\n* stdio/__swbuf.c: workaround/bugfix for unbuffered streams..\n\n* stdlib/malloc.c: moved free() here and made local variables static\n\n* stdlib/malloc.c: Removed \"dummy\" opening of dos.library\n\n* stdlib/realloc.c: Changed CopyMem() to bcopy()\n\n* string/memchr.c: Speed Improvement\n\n* string/memcmp.c: Speed Improvement\n\n* string/memcpy.c: Replaced CopyMem() by internal bcopy()\n\n* string/memset.c: Optimized small operations\n\n* time/clock.c: Changed to use ReadEClock\n\n* Added POSIX Semaphores implementation.\n\n* Added dummy implementations for dcgettext, dgettext, gettext, textdomain\n\n* Added libmui.a functions - why not?\n\n* Added auto-initialization for timer.device\n\n* Added auto initialization of bsdsocket.library, including mapping\n  of errno/h_errno variables and program name to [v]syslog messages.\n\n* Added functions: v/asprintf, fnmatch, strlcat, nl_langinfo, basename,\n  getline, getdelim, readpassphrase, getpass, getpass_r, memrchr, gmtime_r,\n  localtime_r, asctime_r, ctime_r, strerror_r, strtok_r, poll, strcmpi,\n  strncmpi, stristr, strcasestr, memdup, truncate, ftruncate, syslog,\n  openlog, closelog, setlogmask, inet_addr, socketpair, inet_aton, inet_ntoa,\n  inet_ntop, inet_pton, intoa, sleep, usleep, nanosleep, memmem, mempcpy,\n  stpncpy, physmem_total, physmem_available, getruntime, popen, pclose, ffs,\n  unctrl, unctrllen, telldir, seekdir, scandir, alphasort, strndup, strnlen,\n  strlcpy, strchrnul, \n\n* Somewhat improved strtok, strtok_r, strspn, strdup\n\n* Added IEEE math functions sqrt, sqrtf, sqrtl, cbrt, cbrtf, cbrtl, exp,\n  expf, expl, exp2, exp2f, exp2l, hypot, hypotf, hypotl, log2, log2f, log2l,\n  log10, log10f, log10l, copysign, copysignf, copysignl, rint, rintf, rintl,\n  round, roundf, roundl, trunc, truncf, truncl, acosh, acoshf, acoshl\n\n* Added misc function ConsoleWidth(), on *nix this is normally achieved\n  using the following code (which you can replace with that function):\n  struct winsize wsz;\n  fd = fileno (stderr);\n  ioctl (fd, TIOCGWINSZ, \u0026wsz);\n  return wsz.ws_col;\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegocr%2Flibnix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegocr%2Flibnix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegocr%2Flibnix/lists"}