You can't prior to version 11.9.x. You should be able to now.
To lock a single record in Sybase, you'll need to set up the table for row-level lock type first.
To access this from C, you will need the Open-Client Libraries. This I've never tried, but it is possible.
- Greg Hwin