set l to allocated storage

l = avail()