StopUserAsync Short Name STPUSRA() Type Server Only Declaration COUNT StopUserAsync(COUNT mode) Description StopUserAsync() is the same as StopUser() except that it returns immediately when called by a client without waiting for the server to complete the STPUSR() processing. StopUserAsync() accepts a mode parameter to convey special user shutdown options. The only mode implemented affects flush operations: if a file is on the NO_SHUTDOWN_FLUSH list (see the NO_SHUTDOWN_FLUSH c-tree Server configuration keyword), and if StopUserAsync() is called with ctNOFLUSH OR-ed into mode, the file buffers will not be flushed if the StopUserAsync() causes the file closure, and the file will be marked corrupt. Return
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. Example COUNT retval=0, buf = dbuf = 10, fil = sect = 32; pTEXT uid = “ADMIN”, pass = “ADMIN”, srv = “FAIRCOMS”;
{
printf(“\nCould not initialize c-tree Plus: %hd”, retval); StopUserAsync(ctNOFLUSH); exit(2); } See also StopUser() |
||||||||||||||||||