คลังโปรแกรม หรือ ไลบรารี (อังกฤษ: library) ในทางวิทยาการคอมพิวเตอร์ คือส่วนที่รวบรวมกระบวนการ (process) และฟังก์ชันย่อย (subroutine) ต่าง ๆ ซึ่งอาจจะรวมซอร์สโค้ดหรือไม่ก็ได้ ที่จำเป็นต้องใช้ในการเขียนซอฟต์แวร์หรือใช้ในการทำงานของโปรแกรมหนึ่งๆ
รูปแบบไฟล์
- ใน กนู/ลีนุกซ์ โซลาริส และ บีเอสดี ตัวแปร:
libชื่อไลบรารี.a
และlibชื่อไลบรารี.so
ไฟล์จะถูกเก็บไว้ในไดเร็กทอรี/lib
- แมคโอเอสเท็น ใช้ระบบไลบรารีจากระบบบีเอสดี และใช้
.so
และ.dylib
- ไมโครซอฟท์วินโดวส์ ใช้
*.lib
สำหรับไลบรารีสแททิก และ*.dll
สำหรับไลบรารีไดนามิก
Wikiwand in your browser!
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.