.\" Generated by the Allegro makedoc utility .TH lock_sample 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME lock_sample \- Locks all the memory used by a sample. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void lock_sample(SAMPLE *spl); .SH DESCRIPTION Under DOS, locks all the memory used by a sample. You don't normally need to call this function because load_sample() and create_sample() do it for you. .SH SEE ALSO .BR load_sample (3alleg4), .BR create_sample (3alleg4)